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]
|