I need to make a regex which will reject string with any given character in set next to each other
". / - ( )"
For example:
123()123 - false
123--123 - false
124((123 - false
123(123)123-12-12 - true
This is what i have done so far:
(?:([\/().-])(?!.*\1))