Reply to Re: [PHP] Help with REGEXP please

Your name:

Reply:


Posted by John Nichel on 03/04/05 22:42

Shaun wrote:
> Hi,
>
> Please could someone tell me how i can extract the information from a string
> that is after 'ID_' and before '_FN'
>
> Thanks for your help.
>

preg_match ( "/ID_(.*)_FN/", $string, $result )

The data will be in $result[1] if there is a match.

--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
john@kegworks.com

[Back to original 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

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