In my react-native application, I have a requirement to accept 7 types of special characters in a string. It could be all 7, few of them or none of them.
Special characters are (),@'/-
so the accepted string will be like following.
ABcd()ef,/'-@sdf
=> accepting all 7ABcd(),
=> accepting few of 7ABcddfg
=> accepting none of 7
How should I write this regex in java script?