Forum Moderators: coopster
Let's say I have a long string, which could contain a URL.
The URL can be in one of three formats at this points (ignore the spaces before the tags):
[ url]http://www.link.com[ /url]
[ url=http://www.link.com]Link Title[ /url]
[link.com...]
I'm trying to use preg_match_all() to isolate all instances of a link and store it in an array.
The problem is, I'm not sure what sort of 'regexs' I can use to isolate those links.
Any help would be greatly appreciated.