Salut,
working under flash, I apply this regexp : /[a-z]/
to this string : "aà8"
and it returns true because of the "a".
I want it to return false, because I want a string with ONLY caracters from a to z.
"à" and "8" are not from a to z.
How to force matching like this ?
merci, Sylvain.
RegExp : only [a-z]
Moderator: General Moderators
Re: RegExp : only [a-z]
Code: Select all
preg_match('/^[a-z]++$/D', $str);