I’ll start off this post by saying that I DO NOT claim to be a “RegExpert” (Regular Expression Expert). I claim to be an expert in only a couple of things in life:
- Knowing how to give good doggos belly rubs.
- Not thinking of anything in particular.
But because neither of these things pays the bills (yet), I’ve found that a little knowledge in regular expressions is a good thing to have. Better, sometimes having resources in your back pocket can be useful.
I’ll show a couple of small examples here, but will also give some examples of resources that can help with some of the tricky situations where regex is needed.