Trying different patterns for regular expression