User input based test for finding regex
Identified repeating groups using generated regex
Store changing values to a dict with keys as the lcs