0

I'm trying to create a regex for space separated strings containing capital letters, numbers or the special characters ' / - ? : ( ) . , '' (simple quote and double quote included).

I tried the following regex :

^[A-Z0-9'/-?:().,\" ]*$,

but it doesn't work when I type the - character.

Shawn
  • 1,232
  • 1
  • 14
  • 44
Platus
  • 1,753
  • 8
  • 25
  • 51

0 Answers0