Dom
Member
Registered: 13th Sep 03
User status: Offline
|
Does anyone know an expression to match alphameric and symbol characters (specifically bracket characters)?
Currently using preg_match('/^[a-zA-Z\'\s\-]*$/', $string), would i be right in thinking preg_match('/^[a-zA-Z\'\s\(\)\-]*$/', $string) would work?
|
ed
Member
Registered: 10th Sep 03
User status: Offline
|
I always use this site for building regular expressions. So useful!
http://gskinner.com/RegExr/
|
Dom
Member
Registered: 13th Sep 03
User status: Offline
|
Absolute lifesaver ED!!
|
ed
Member
Registered: 10th Sep 03
User status: Offline
|
Best thing on the internet
|