Skip to content

Regular expressions made easy, generated with the help of AI.

Notifications You must be signed in to change notification settings

msichterman/regexp

Repository files navigation

⚠️ Another side project bites the dust... 😅

MSICH - Personal SiteTwitter FollowFollow on GitHub

image

RegExp – regular expressions made easy, generated with the help of AI.

Simplify RegExp with this AI-powered regular expression utility. No more frustration, no more confusion - just the perfect expression generated for any use case.

Motivation

Let's be real: RegExp is hard... I find myself constantly reviewing documentation – and straining to come up with even the simplest matchers. Recently, I was looking for a way to quickly match any TailwindCSS default color style in order to replace it with the Radix color pallete via windy-radix-palette (I love the idea of "automatic" dark mode).

This project seeks to solve that issue by giving you RegExp superpowers with the help of GPT-4. This is also one of my first times implementing an OpenAI tool into a project, so I wanted to start with something small yet useful.

Vision

  • 🪄 Generate RegExp for any code snippet given a description – Code + Description → RegExp
  • 🪄 Find and replace anything for any code snippet given a description – Code + Description → Find & Replace (
  • 🪄 Find and replace anything (with the RegExp used) for any code snippet given a description – Code + Description → Find & Replace + RegExp
  • 🪄 Get the natural language description given a RegExp – RegExp → Descrption in Natural Language

Technologies

Get In Touch