Regular expressions are, I think, the quintessential example of something that many people "just copy and paste." Even if you don't write them, once you learn to read them, your world will change.
When having an AI create a regular expression for input validation, the first thing you should ask for is not the pattern itself. First, define "pass examples," "block examples," and "nearly correct ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results