If you're trying to pattern match a string, is there really a better option? If so, I don't know it, but feel free to let me know.
There's definitely a rabbit hole to fall into and a lot of complexity along the way, but I've found regex to be one of the more reusable and powerful tools in my arsenal even though most of the time they seem to be on the simple side rather than complex.
If it ever get's confusing I've always got my goto: regex101.com/
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
If you're trying to pattern match a string, is there really a better option? If so, I don't know it, but feel free to let me know.
There's definitely a rabbit hole to fall into and a lot of complexity along the way, but I've found regex to be one of the more reusable and powerful tools in my arsenal even though most of the time they seem to be on the simple side rather than complex.
If it ever get's confusing I've always got my goto: regex101.com/