I need an regex to my preg_match()
, it should preg (allow) the following characters:
String can contain only letters, numbers, and the following punctuation marks:
- full stop (.)
- comma (,)
- dash (-)
- underscore (_)
I have no idea , how it can be done on regex, but I think there is a way!