Too Long; Didn't Read
Parsing is a process of converting formatted text into a data structure. Parser analyses source text against the format* prescribed. If source text does not match against format error is thrown or returned. If matches then “data structure” is returned. This is an illustration of Regular Expression based parsing, which is limited to. format format, which can be defined by regular expressions. A small-scale illustration of parsing with “Regex” might be a fair approach for one-two lines input text but not in every case.