I have the following regex (I use eregi_replace)
[url]([A-Za-z0-9.\/\?&:=-+]+)[/url]
It just replaces with :
<a href="\1">\1</a>
It allows url and /url tags in blocks (like a lot of message boards)
It seems to work fine, except when I use it with a more complex URL like this :
http://search.yahoo.com/search?ei=UTF-8&fr=sfp&p=PHP
This is the first time I have really tried to use regex., and I want to understand it, not just rip somebody else's code that works...
Thanks in advance!