Added regular expression for the matching of the string