New

added function for parsing for RegEx parsing