Hi, please somebody help me.
I'm needing a regex that accepts strings with:
- A-Z uppercase or lowercase;
- white space;
- dot (.)
Example:
"John", "J. ohn", ".j.O.h.N", "....John" ...
I tried to make one but no success.
Thanks!!!
Help with regex
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: Help with regex
Something lke "/^[A-Za-z \.]*$/ should workrbfabbri wrote:- A-Z uppercase or lowercase;
- white space;
- dot (.)
(#10850)