# Using Regular Expressions in Erlang

**URL:** <https://forum.devtalk.com/t/using-regular-expressions-in-erlang/12966>\
**Category:** Backend Chat/Discussions\
**Tags:** regular-expressions, erlang\
**Created:** [13 July 2021 10:10 UTC](https://forum.devtalk.com/t/using-regular-expressions-in-erlang/12966 "2021-07-13T10:10:24Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Rainer](https://forum.devtalk.com/user_avatar/forum.devtalk.com/rainer/32/553_2.png) [@Rainer](https://forum.devtalk.com/u/Rainer)\
**Post date:** [13 July 2021 19:16 UTC](https://forum.devtalk.com/t/using-regular-expressions-in-erlang/12966/9 "2021-07-13T19:16:10Z")

</div>

Regex is such a nice tool, but unfortunately I’m using it rarely, so every time I use it it feels a bit awkward at the beginning.  
I also use the already mentioned RegExr to write the expression first.

It’s always good to know about regex when solving some coding puzzles like Advent of Code. I used it there with Erlang 🙂

> <https://github.com/raerkeer/AdventOfCode_2020_Erlang/blob/main/day2.erl>

> <https://github.com/raerkeer/AdventOfCode_2020_Erlang/blob/main/day4.erl>

---

_[View the full topic](https://forum.devtalk.com/t/using-regular-expressions-in-erlang/12966)._
