You are here: finding location (start and lengh) of a substring in a bigger string. « PHP Programming Language « IT news, forums, messages
finding location (start and lengh) of a substring in a bigger string.

Posted by Moham12345 on 09/24/07 14:07

Hi,

Im struggling here ... is it possible to check for a string pattern
like a valid url in a bigger string. And then return the matching
pattern string?

so if i had a string like : "This is my website it is called www.google.com
and i have made lots of money"
Now how can i match a url in this string.... or any url for that
matter and return it?

In this case it would return "www.google.com".

Thanks in advance.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация