hello allll thats me code which valid you enter only english letter preg_match('#^[a-zA-Z]$#i', $text)
how i can write " or ' between [] thats meaning i need to make regex empowering user enter " or '
hello allll thats me code which valid you enter only english letter preg_match('#^[a-zA-Z]$#i', $text)
how i can write " or ' between [] thats meaning i need to make regex empowering user enter " or '
preg_match('#^[\'"a-z]+$#i', $text)
This will match a string with any a-z A-Z ' ". But no spaces.