Given a task that extracting the necessary information to generate the tables from the Mplus (or SAS or etc) output. Furthermore, by coding, we can guarantee the consistency and reproducible manner of the numbers from the output in the tables.
This is a very quick introduction re-written from Prof. Roger Peng's lectures to the general notion of regular expressions and how it can be used to process text. For more information, we should refer to the website.