$preg_match = "(^[A-Za-z0-9\'\p{L}\s\.\-()_]+$)"; if (!preg_match($preg_match, $var)) { return -1; }
elle fonctionne très bien quand je la teste avec http://www.dhtmlgoodies.com/scripts/regular-expression/regular-expression.html
Par contre, elle ne m'accepte pas l'apostrophe quand je suis avec php. Je tourne en rond
