Regular Expression not working in ios11 only working fine in ios10

Viewed 1026

Requirement;

All Special characters allowed excluding (`) (') () (") and Spaces using below for the same and working fine in ios 10

const UserIdRegExp = /[^`"' \\]$/g;

not working in ios11

const value='anand`';

when i am doing UserIdRegExp.test(value); ios10 return false.

and ios11 return true

1 Answers
Related