replaced [a-z] with \w in regex