Skip to content
Ali5723Public

About

RegExen is a tool that helps devs write, test, visualize, and understand regular expressions.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

ย 

History

15 Commits

Folders and files

Repository files navigation

RegExen

RegExen is a free and open-source tool that helps developers write, test, visualize, and understand regular expressions (Regex).

Live Website: https://regexen.vercel.app/

Regular expressions are powerful, but they can often be difficult to write, understand, and debug. RegExen aims to simplify this process by providing an interactive environment where developers can experiment with patterns, instantly inspect matching results, and eventually explore how regular expressions work behind the scenes.

The project is currently under active development, with more features and improvements planned.


โœจ Features

๐Ÿงช Regex Tester

The Regex Tester is the first functional tool available in RegExen.

  • Live Regex Testing: Write a regular expression and test it against custom text, with results updating instantly.
  • Regex Flags: Enable or disable supported flags to control matching behavior.
  • Pattern Validation: Instantly check whether a regular expression is valid.
  • Match Detection: Find and display matches within the provided text.
  • Match Results: View matching results in an organized, scrollable list.
  • Input Statistics: Track the number of lines and characters in the test input.
  • Copy Pattern: Quickly copy your regular expression to the clipboard.

๐ŸŽจ Interface & User Experience

RegExen is designed to provide a clean and comfortable development experience.

  • Light & Dark Themes: Two carefully designed color schemes with consistent styling and contrast.
  • Responsive Design: Optimized layouts for desktop and mobile devices.
  • Reusable Components: A consistent UI built with reusable components.
  • Accessibility: Improved keyboard and screen-reader support through accessible controls and ARIA attributes.
  • Developer-Friendly Interface: A simple, organized workspace focused on usability.

๐Ÿ”ฎ Upcoming Features

RegExen is more than just a regex tester. The long-term goal is to build a complete environment for exploring and understanding regular expressions.

๐Ÿ” Regex Explainer

Break down regular expressions into understandable parts, including character classes, quantifiers, groups, assertions, and other regex constructs.

๐ŸŽฌ Execution Visualizer

Visualize how supported regular expressions are evaluated step by step, making matching behavior and backtracking easier to understand.

๐Ÿงฉ Advanced Match Inspector

Highlight matches directly inside the input text and inspect capturing groups, named groups, and match positions.

๐Ÿ”„ Replace & Extract

Experiment with regex-based text replacement, preview transformations, and extract structured data from matching results.

๐Ÿงช Test Cases

Create multiple test cases for a single expression, define expected results, and verify that patterns continue working as intended.

โšก Performance Analysis

Explore regex performance, compare execution times, and identify patterns that may cause inefficient matching behavior.

๐Ÿ“š Interactive Learning

Learn regular expressions through interactive examples, explanations, and practical challenges.

These features are planned and are not all implemented yet.


๐Ÿ› ๏ธ Tech Stack

RegExen is built with modern web technologies:

Technology Purpose
Nuxt Application framework
Vue Reactive user interface
TypeScript Type-safe development
Tailwind CSS Styling and responsive design
shadcn-vue Reusable UI components

๐Ÿš€ Getting Started

You can try RegExen immediately using the live website, or run it locally for development.

Prerequisites

Make sure you have the following installed:

  • Node.js
  • pnpm
  • Git

1. Clone the Repository

git clone https://github.com/Ali5723/RegExen.git
cd RegExen

2. Install Dependencies

pnpm install

3. Start the Development Server

pnpm dev

Open http://localhost:3000 in your browser.

The development server supports hot reloading, so your changes will appear automatically while developing.


๐Ÿ“ฆ Build for Production

Build the application:

pnpm build

Preview the production build locally:

pnpm preview

๐Ÿ—บ๏ธ Roadmap

RegExen is being developed step by step, starting with a functional Regex Tester and expanding into more advanced development and learning tools.

Foundation

  • Initial project setup
  • Main application layout
  • Reusable UI components
  • Global CSS and design system
  • Light and dark themes
  • Responsive desktop and mobile layouts

Regex Tester

  • Pattern input and validation
  • Regex flags
  • Live regex matching
  • Match results display
  • Input line and character statistics
  • Copy pattern functionality
  • Advanced match highlighting
  • Capturing group inspector

Advanced Features

  • Regex syntax explainer
  • Step-by-step execution visualizer
  • Regex automata visualization
  • Replace and extract tools
  • Multiple test cases
  • Performance analysis
  • Regex engine compatibility tools
  • Interactive learning features

The roadmap may evolve as the project grows.


๐Ÿค Contributing

Contributions, suggestions, and bug reports are always welcome!

If you'd like to contribute:

  1. Fork the repository.
  2. Create a new branch for your feature or fix.
  3. Make your changes and test them locally.
  4. Commit your changes with a clear message.
  5. Open a pull request describing your contribution.

You can also open an issue to report a bug, suggest a feature, or discuss potential improvements.

Repository: https://github.com/Ali5723/RegExen


๐Ÿ’ฌ Feedback

RegExen is still growing, and feedback is an important part of its development.

If you find something that could be improved or have an idea for a new feature, feel free to open a GitHub issue.

You can also explore the current version and try the Regex Tester directly:

๐ŸŒ Launch RegExen


๐Ÿ“„ License

RegExen is an open-source project. See the LICENSE file for the applicable license terms.


RegExen โ€” Making regular expressions easier to write, test, and understand.

About

RegExen is a tool that helps devs write, test, visualize, and understand regular expressions.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages