tmajor99
asked on
Regular Expression Help - finding string of certain length
I need help with a regular expression. The following expression identifies strings of 4 bytes or more. However, it does not seem to work when the string has a special character like "-".
\w{4,}
For Example;
1234 --> Found.
23-44 --> Not found
How can I get this to work with special characters?
\w{4,}
For Example;
1234 --> Found.
23-44 --> Not found
How can I get this to work with special characters?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
n/a
HTH,
Dan