View Full Version : preg_replace() Help

06-14-2005, 05:11 AM
Could someone please give me a ridiculously over detailed explaination of the function preg_replace()?

SeeIT Solutions
06-14-2005, 05:21 AM

06-14-2005, 05:26 AM
I went to that. It's not over detailed enough. :(

06-14-2005, 08:32 AM
PHP manual @ http://php.net/ is the ultimate solution.


SeeIT Solutions
06-14-2005, 08:37 AM
that's what my link was to.

06-14-2005, 03: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-14-2005, 11:46 PM
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, 12: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, 01: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.
Try here.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum