Skip to content

ShuttleLab/regex-shuttle

Repository files navigation

Regex Shuttle

Regex Shuttle

Free, Private & Browser-Based Regex Tester

Build, test, and debug regular expressions with real-time match highlighting — entirely in your browser.

Next.js React TypeScript Tailwind CSS

About

Regex Shuttle is a privacy-first regular expression testing tool. Patterns and test strings are evaluated entirely in your browser using the native JavaScript RegExp engine — nothing is uploaded to any server, making it safe for testing patterns against sensitive data like logs, emails, or source code.

Key Features

  • Real-Time Matching: Matches highlight as you type, with capture groups broken out per match.
  • JavaScript RegExp Engine: Test exactly what your JS/TS code will run — flags g, i, m, s, u supported in the UI.
  • Pattern Explainer: Plain-language breakdown of what each part of your pattern does.
  • Common Pattern Library: Ready-made patterns for emails, URLs, dates, IP addresses, and more.
  • 100% Private: All evaluation happens client-side. No pattern or test data ever leaves your device.
  • Bilingual UI: Native English and Chinese interfaces with full SEO localization.

Tech Stack

Getting Started

Prerequisites

  • Node.js 18.17 or later

Installation

git clone https://github.com/ShuttleLab/regex-shuttle.git
cd regex-shuttle
npm install
npm run dev

Open http://localhost:3000 to see the application running.

Available Scripts

Command Description
npm run dev Start the Next.js dev server
npm run build Static-export build into out/ (incl. locale post-processing)
npm run lint Run ESLint

Deployment

Regex Shuttle deploys as static assets on Cloudflare Workers. The build emits to out/, which wrangler.toml points at; scripts/postbuild.mjs promotes the default-locale pages to the web root and fixes the lang attribute on Chinese pages.

License

This project is licensed under the MIT License.


Built by ShuttleLab

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors