0

Here's my current code:

/[\w\s]+/

I'm trying to make the following characters match:

Q W E R T Y U I O P A S D F G H J K L Z X C V B N M 
q w e r t y u i o p a s d f g h j k l z x c v b n m
_ (spaces)

Note - Sorry, I couldn't resist!

3
Contributors
4
Replies
5
Views
10 Years
Discussion Span
Last Post by YoussefUSF
0

The character class you have will match all of the characters in the list of characters you posted. Is there a problem?

0

That's strange... well, thanks for verifying that it works.

0

Its not strange at all. What is strange is your post, it makes no sense.

In addition to the characters you posted the character class will also match 0-9 which is part of the \w character list:

a-zA-Z0-9_

If you don't want 0-9 you have to do this:

[a-zA-Z_\s]

0

Q W E R T Y U I O P A S D F G H J K L Z X C V B N M

mak a class or function and defin
a=A
A=a
b=B
B=b

and so on

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.