You are here: Re: ereg question « PHP Programming Language « IT news, forums, messages
Re: ereg question

Posted by mvandenb on 01/26/07 20:01

Regex reference:
http://en.wikipedia.org/wiki/Regular_expression
It basic but it works.


'ca?t' translated in to English:

find the string 'ct' or 'cat'

? - match 1 or 0 occurrences

+ - match 1 or more occurrences 'cat' 'ca...at'

* - match 0 or more occurrences 'ct' 'cat' 'ca...at'

There is more but see the link above.

 

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

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