from Hacker News

Show HN: RegexGo – Regex Generator from Examples

by arjunlol on 1/8/23, 7:22 AM with 6 comments

You can enter strings to match/not match and the generator will spit out an according regex. It's not 100% accurate, but I feel like this could still be useful in at least getting a starting point when initially trying to make a regex?
  • by andrewinardeer on 1/8/23, 8:06 AM

    RegexGo is currently not supported on mobile clients, please access from a desktop.

    That's a shame.

  • by tgv on 1/8/23, 8:07 AM

    Not bad. Perhaps your strategy for repeated arguments could default faster to * or +, but the few examples I tried were good and readable.