Really quick regex question

speaker219's Avatar, Join Date: Jul 2007
Newbie Member
In php, how would i validate a form so that it can only be letters and numbers? Thanks. (have no idea how to write regex expressions)
If possible, could you show me exactly how to do it in php so i could return a message if it is not validated correctly? thanks.
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
You should read Mastering Regular Expressions in PHP