You are here: Re: Regex pattern help « All PHP « IT news, forums, messages
Re: Regex pattern help

Posted by robert on 09/28/53 11:48

"Neeper" <neeper@hotmail.com> wrote in message
news:jpl7725j0v27n1gjv4bovg7t4gihfqmes5@4ax.com...
| I've got this pattern that I am using but how would I incorporate
| allowance of dashes(-)?
|
| $mixedPattern = '[^A-Za-z0-9\.\,\'\#[:space:]]';

well, it helps if you would provide a sample string that would illustrate
what you mean. as it is, the above expression *does* allow for dashes...and
then some.

 

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

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