Regular Expressions: How to Express \w Without Underscore

the following character class (in Perl)

[^\W_]

\W is the same as [^\w]

Leave a Comment