I am trying to validate a text box with a reg expression that would allow Characters, apostrophes, hyphens and wildcards (* and ?).
I have found ^[\p{L} \.'\-]+$ which should allow the characters, apostrophes and hypens. What would I need to add to accept the wildcards as well?
Regex to validate:
Inside the square brackets ? and * are not special chars.
If you need to match the whole string do