4
Answers

Help decoding a regular expression


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)