Questions | Login

Top / PHP

PHP how do I get an url out of BBCode?

demo 20 Dec 2008 11:38am
I have [url=hxxp://www.blaaaablabla.com/]Click[/url]

i need to get the hxxp://www.blaaaablabla.com/ out of it.

any suggestions?
i'm considering preg_match_all() because there's a possiblity of multiple [url] tags in a message.

Answers

Related

Submit Answer

You must be logged in to post an answer. Please Login or Register.

Powered by phpMyAnswers.