Announcing Regex Battle

I built a small app called Regex Battle. It lives at https://regexbattle.com and it turns regular expressions into a head to head game. You get a prompt, a timer starts, and your goal is to write a regex that meets the challenge before the clock hits zero. You can play against another person or against a bot if you want to practice solo.

Regex Battle game

Regex Battle is a PvP regular expression battle game with a bot and PvP mode. Each round gives you an objective and a set of example strings. Your job is to write a pattern that matches what it should and rejects what it should not. When you submit, the app checks your regex against the round tests and shows the result. Fast and correct beats slow and almost. Simple as that.

How a match works

You join a match, the round prompt appears, and a visible timer starts. You can iterate as many times as you want inside the round. When the timer ends, points are awarded based on correctness and time left. Then the next round begins. Bot mode uses the same flow, which makes it a good place to warm up or learn without pressure.

Regex Battle leaderboard

Why I made it

Regex can be a superpower, but learning it is often dry. Turning it into a quick match makes practice feel like sport. You get the reps. You build intuition. You also learn when not to use a regex and to keep patterns readable. I wanted something that is fun for five minutes and still useful if you stick around longer.

Try it

If you enjoy friendly competition or you want to sharpen your pattern skills, give it a go: https://regexbattle.com. If you spot rough edges or have ideas for new rounds, tell me. I am still early and feedback helps me steer the roadmap.