Fix reggular expression to incoparate capital letters

Used case insensitive regular expression and assigned it to a constant.