<?php $psm_name = 'test#1-"name" & frien~d '; if (preg_match("/^[-a-zA-Z0-9&@#_.\s^'\"]+$/", $psm_name)) { echo 'true'; } else { echo 'false'; }
You have javascript disabled. You will not be able to edit any code.