You are here: Regualr Expression « PHP Programming Language « IT news, forums, messages
Regualr Expression

Posted by willl69 on 02/23/07 11:59

Hi,

Just wondering if anybody can help me out with a regular expression.

What i need to do is match a sting of 5+ words, with the words in any
order. The below will perform the operation -

^(word1|word2|word3|word4|word5)+$

Although this works, this will also match alot of stuff that contains any
of those words, not contains all the words, which is what i need.

Any info greatly appreciated, i can ellaborate on the problem if needed,

Cheers

Will

 

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

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