/^<(?:[Tt][Rr])...../ # it would be much easier to read if you had /^<(?:TR).........../i