Can someone help me with a regular expression to include
A-z a-z 0-9 - _ (space) (dot) < > ( ) ~
and exclude other special symbols in ereg function of php 5.1.6?
I am getting too much confused with the escape character backslash and order of things i need to write if it is required. If not possible with ereg u can suggest me any similar function that works.
Thank you
Ereg version :
Preg version : (after popular demand)
Something like this?