PDA

Click to See Complete Forum and Search --> : Regular Expression Help: Allow Dashes and Word Characters


Redth
Feb 4th, 2003, 03:55 PM
Hey guys,

I need help with a regular expression... I want to allow all Word characters (alphanumeric) AND Dashes...

i have an expression that allows alphanumeric characters:


\w{5,50}


BUT, how do I add it so that Dashes are also allowed in here? Thanks guys for the help!