Is there a regex, python, or javascript way to search for a period, a word, and then a definition, and after that append it to a dictionary or another object?
For example