Name Regular expression -it is not taking space btw name

0
Used the regular expression for name which should not contain special characters                isMatch($Candidate/Name, '^[A-Za-z0-9]+[.][A-Za-z.]+$+')  But in output it is not allowing spaces in between name      What changes i need to do in that expression ?  Please inform me that would be appreciate. Thanks & regards  Pavan
asked
1 answers
5

Hey Sunkara,

Please try this one,

                               ^[_A-z0-9]*((-|\s)*[_A-z0-9])*$

Let me know if it doesn’t works,

 

Hope it helps!

answered