|
Posted by Rich on 09/28/83 11:48
On Wed, 24 May 2006 03:48:14 GMT, Neeper wrote...
>
>I've got this pattern that I am using but how would I incorporate
>allowance of dashes(-)?
>
>$mixedPattern = '[^A-Za-z0-9\.\,\'\#[:space:]]';
>
>
>TIA
If it's similar to the regex in Perl, I believe you put the dash last in the
group so that is isn't interpreted as a special characters (such as the A-Z
range).
Rich
--
Unlimited Newsgroup Downloads / $19.95 month
More Details - http://newsguy.com/overview.htm
Navigation:
[Reply to this message]
|