I'm currently implementing a validation with the bootstrapValidate plugin using the following regex pattern to validate a field.
bootstrapValidate('#input', 'regex:/^(my:track:[a-zA-Z0-9]{22}$)/:Invalid input')
The documentation suggests to use this expression:
bootstrapValidate('#input', 'regex:^[a-z]+$:Please fulfill my regex')
However, I am facing an issue where I'm using ":" inside the regex match which conflicts with the separator options.
Is there a way to prevent the ":" in my regex from conflicting? Thank you!