<tag1 matches the characters <tag1 literally (case sensitive)
Match a single character not present in the list below [^>]
* matches the previous token between zero and unlimited times, as many times as possible, giving back as needed (greedy)
> matches the character > literally (case sensitive)
> matches the character > literally (case sensitive)
.
matches any character (except for line terminators)Line terminator(s) are \n
*? matches the previous token between zero and unlimited times, as few times as possible, expanding as needed (lazy)
< matches the character < literally (case sensitive)
\/ matches the character / literally (case sensitive)
tag1> matches the characters tag1> literally (case sensitive)