Hey Product Hunters!
I'm one of those people who will do a lot just to avoid learning RegEx. I use it roughly every three months, and for the last few years, my routine has been almost the same:
1) Google the desired pattern
2) Go to a random RegEx online tool and verify the pattern against a few examples
With the advancement of GPT chatbots, figuring out regular expressions has become even easier. So, I built an OpenAI wrapper that generates RegEx patterns from English descriptions. You can test the resulting RegEx pattern with auto-generated examples. You can also get a detailed explanation of the pattern to understand it better.
Hi Alexander, congrats on launching RegEx Helper! This tool sounds incredibly useful for those of us who struggle with RegEx. How does it ensure the generated patterns are both accurate and efficient? Also, are there plans to support more advanced RegEx features in the future?
P.S. Didn't ChatGPT solve this problem?
Congrats, looks awesome!
This is going to sound crazy, but I always feel more confident reading a regular expression than writing one. While I don't feel confident trusting AI, I think it's awesome for the first draft of anything. So this is an awesome way to get me that first draft that I can read and improve on.
A challenge for you though: get it to give a good response for 'Match an email address, including Unicode characters, in the format needed by the "pattern" attribute of an HTML input.' That was an issue I had recently. It requires the "v" flag in JS and also some unicode character classes. (On that note, one thing that always gets me is that "regular expression" means a different thing in different coding languages - they all have slightly different formats!)
Congrats again!
RegEx Helper
Telebugs
Released