Hi, How can we write custom regular expression for name filed in custom form in osticket (v1.10.4).
I tried this regular expression (/[a-zA-Z ]*$/? but no use. Getting "Cannot compile this regular expression" error.
Please help me.
I haven't really played with this personally but I believe that you just need to remove the beginning and ending /'s.
Thanks ntozier for your response. I solved the above issue by using the below regular expression.
/[a-zA-Z'. -]+$/ (Expression allows spaces also )