# Pattern matching against a string

**URL:** <https://forum.elixirforum.com/t/pattern-matching-against-a-string/21002>\
**Category:** Questions\
**Tags:** pattern-matching\
**Created:** [March 20, 2019, 3:06pm UTC](https://forum.elixirforum.com/t/pattern-matching-against-a-string/21002 "2019-03-20T15:06:45Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![1player](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/1player/32/14000_2.png) [@1player](https://forum.elixirforum.com/u/1player)\
**Post date:** [March 20, 2019, 11:20pm UTC](https://forum.elixirforum.com/t/pattern-matching-against-a-string/21002/13 "2019-03-20T23:20:21Z")

</div>

> [@dimitarvp](#):
>
> Regex for HTML or XML is a hard “ **NO!** ” even if you do a two-days educational throwaway project.

Here’s some details on how to easily parse HTML with regexes:

> <https://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454>

---

_[View the full topic](https://forum.elixirforum.com/t/pattern-matching-against-a-string/21002)._
