How to write regular expression that matches only numbers,text,spaces and only two special characters
<p>How to write regular expression that matches only numbers,text and only these two special characters # and -
[a-zA-Z0-9#-\s]+ anything else should be rejected</p>
