<?php $user = "john davy/"; if(preg_match('/\w/', $user)) { echo 'TRUE'; } ?>
this statement should return false because my string variable has a / character which my if statements only returns true if it is a variable,digit and underscore i think..what is the problem of this statement when i'm running this it always returns true