Difference between regex [A-z] and [a-zA-Z]

[A-z] will match ASCII characters in the range from A to z, while [a-zA-Z] will match ASCII characters in the range from A to Zand in the range from a to z. At first glance, this might seem equivalent — however, if you look at this table of ASCII characters, you’ll see that A-z includes several other characters. Specifically, they are [\]^_, and ` (which you clearly don’t want).

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)