Parsing vs Pattern Matching in Regex

What is:

  1. Pattern matching in regular expression
  2. Parsing in regular expression
  3. Why is it fine to pattern match HTML strings, but parsing HTML is not?

If you can give me an example of each, it would really help me understand.

Thank you in advance! :slight_smile:

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0

Challenge: Find Characters with Lazy Matching

Link to the challenge: