RegExen is a free and open-source tool that helps developers write, test, visualize, and understand regular expressions (Regex).
๐ Try RegExen Live
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.
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.
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.
RegExen is more than just a regex tester. The long-term goal is to build a complete environment for exploring and understanding regular expressions.
Break down regular expressions into understandable parts, including character classes, quantifiers, groups, assertions, and other regex constructs.
Visualize how supported regular expressions are evaluated step by step, making matching behavior and backtracking easier to understand.
Highlight matches directly inside the input text and inspect capturing groups, named groups, and match positions.
Experiment with regex-based text replacement, preview transformations, and extract structured data from matching results.
Create multiple test cases for a single expression, define expected results, and verify that patterns continue working as intended.
Explore regex performance, compare execution times, and identify patterns that may cause inefficient matching behavior.
Learn regular expressions through interactive examples, explanations, and practical challenges.
These features are planned and are not all implemented yet.
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 |
You can try RegExen immediately using the live website, or run it locally for development.
Make sure you have the following installed:
- Node.js
- pnpm
- Git
git clone https://github.com/Ali5723/RegExen.git
cd RegExenpnpm installpnpm devOpen http://localhost:3000 in your browser.
The development server supports hot reloading, so your changes will appear automatically while developing.
Build the application:
pnpm buildPreview the production build locally:
pnpm previewRegExen is being developed step by step, starting with a functional Regex Tester and expanding into more advanced development and learning tools.
- Initial project setup
- Main application layout
- Reusable UI components
- Global CSS and design system
- Light and dark themes
- Responsive desktop and mobile layouts
- 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
- 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.
Contributions, suggestions, and bug reports are always welcome!
If you'd like to contribute:
- Fork the repository.
- Create a new branch for your feature or fix.
- Make your changes and test them locally.
- Commit your changes with a clear message.
- 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
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
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.