...

View Full Version : preg_replace() Help



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

SeeIT Solutions
06-14-2005, 06:21 AM
http://php.mirrors.ilisys.com.au/manual/en/function.preg-replace.php

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

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

http://www.mediasworks.com/

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

Fou-Lu
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.

Digger3000
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.

Digger3000
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.

nikkiH
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.
Try here.
http://www.regular-expressions.info/reference.html



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum