4
Answers

Help decoding a regular expression

Ask a question
Bill

Bill

15y
3.8k
1

I am supporting a new application and I do not use regex very often and was hoping someone could decode the following as well as let me know if a string containing a period would pass.
Regex
r = new Regex("^\\s*[a-zA-Z,\\s]+\\s*$");

Answers (4)