> Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems.
Jamie Zawinski
Jamie Zawinski
The alternative is what, a simple tokenizing parser? I think that's actually a step squarely into territory of making it more complex and less readable than a simple regular expression is.
Kipling
It's well-adopted (unless you have to support IE: <https://caniuse.com/?search=URLSearchParams>)
https://stackoverflow.com/questions/1732348/regex-match-open...