View Full Version : preg_replace() Help
06-14-2005, 06:11 AM
Could someone please give me a ridiculously over detailed explaination of the function preg_replace()?
06-14-2005, 06:21 AM
06-14-2005, 06:26 AM
I went to that. It's not over detailed enough. :(
06-14-2005, 09:32 AM
PHP manual @ http://php.net/ is the ultimate solution.
06-14-2005, 09:37 AM
that's what my link was to.
06-14-2005, 04:59 PM
regular expressions are interesting, even with an excellent and detailed tutorial, I'd have to say, IMO, regular expressions are one of the most difficult aspects of scripting.
What is it you are looking to do, perhaps one of us can script it up for you.
06-15-2005, 12:46 AM
No I don't need scripting done for me. I just want to know how it works. I just don't get this stuff about patterns and whatever.
06-15-2005, 01:46 PM
Ok I was able to figure out enough about it to make a simple BBcode. I guess it was all the slashes and (.*?) and whatever else that was confusing me.
06-15-2005, 02:59 PM
Regular expressions tend to work really similarly across platforms and languages.
If the symbols confuse you, perhaps a basic regexp reference would help.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.