everything before using regular expression