Each element of list could be either of two data types, 1. data type one: (regex index-to-extract-type index-to-extract-content concat-string) 1.1. regex => regular express to match the line contain the full tag from each line 1.2. index-to-extract-type => index to extract the tag type, for example, 1 means thing between the *first* '\\(' '\\)' pair in above regex, the extracted string could be 'div' or 'span' ... 1.3. index-to-extract-content => index to extract to tag content, for example, 3 means the thing between *third* '\\(' '\\)' pair in above regex. 1.4. concat-string => the string to concat the type and content 2. data type two: (regex index-to-extract-type another-regex-extract-content concat-string end-tag-regex) Please note this one support multi-line tag. 2.1. regex => regular express to match the line contain the beginning of the tag from each line 2.2. index-to-extract-type => index to extract the tag type, for example, 1 means thing between the *first* '\\(' '\\)' pair in above regex, the extracted string could be 'div' or 'span' ... 2.3. another-regex-extract-content => regex to extract tag content The *first* thing between '\\(' '\\)' will be extracted as tag content 2.4. concat-string => the string to concat the type and content 2.5. end-tag-regex => the regex to match the end of a tag