28
Is there a difference between ^[a-zA-Z] and [^a-zA-Z]?
When I check in C#,
Regex.IsMatch("t", "^[a-zA-Z]") // Returns true (I think it's correct)
Regex.IsMatch("t", "[^a-zA-Z]") // Returns false
There are a lot of web sites using [^a-zA-Z] for the alphabet. I'm not really sure which one is correct answer.