php validation function for name that allow UTF-8 characters plus - (minus) and space
- by REALSOFO
Hello everybody,
Please help me with a function that validate an input string to allow:
1) UTF-8 characters (ex: staîâ) ; 2) space ; 3) minus symbol(-)
String cannot start or end with space or minus.
Thanks!