Regular Expression for Containing Letters and Space
0
Hello, I am doing validation microflow for my project. I want only letters and spaces can be written in the relevant string. I used ($Payment/Limit, '^[a-zA-Z]*$') but it only covers letters, not spaces. Also, I am encountering no viable alternative at input error. Can you help me?
asked
AYBERK AKBALIK
2 answers
1
Hi AKBALIK,
Can you please use below expression & check.
($Payment/Limit, '^[a-zA-Z ]*$')
answered
Atul Kulkarni
0
If you need to allow characters having any ‘^` etc as well, like é, then you need better use this instead:
[^0-9]
By the way: you need not start with ^ and end with $. IsMatch adds them already.