Php how to find an url in a string?

  • Thread starter Thread starter joe v
  • Start date Start date
J

joe v

Guest
the string contains something like:

blablalalaala g o o g l e balbalblalblalbla yahoooo etc etc

how do i get the urls (http://www.google.com/ and http://www.yahoo.com/) out of the message? maybe preg_match_all? can you give an example?
 
Back
Top