A simple web-based application to test and debug regular expressions (regex) in real-time. This tool allows you to enter a regex pattern and a test string to check for matches and see the matched groups instantly.
- Real-time regex testing with input and output.
- Highlights matched groups with detailed information.
- Lightweight and responsive design using Bootstrap.
- Customizable preloader for a smooth loading experience.
- Beautiful dark mode interface with syntax highlighting.
You can try the Regex Tester here.
- Clone the repository:
git clone https://github.com/tholumuzikhuboni/regex-tester.git
- Open
index.html
in your browser.
- Open the
index.html
file in your browser. - In the Enter Regex input field, type the regular expression you want to test (e.g.,
^\d+$
). - In the Test String textarea, enter the text you want to test the regex against.
- Click the Test Regex button to see if your regex matches any part of the test string.
- The matched groups, if any, will appear in the Matched Groups section below the form.
We welcome contributions to improve the Regex Tester tool. If you would like to contribute, follow these steps:
-
Fork the repository:
- Click the Fork button at the top-right corner of the repository page.
-
Clone your fork:
- Clone your forked repository to your local machine:
git clone https://github.com/your-username/regex-tester.git
- Clone your forked repository to your local machine:
-
Create a new branch:
- Create a new branch to make your changes:
git checkout -b your-branch-name
- Create a new branch to make your changes:
-
Make your changes:
- Modify the code, add new features, or fix bugs in the project.
-
Commit your changes:
- Commit your changes with a descriptive message:
git commit -m "Description of your changes"
- Commit your changes with a descriptive message:
-
Push your changes:
- Push your changes to your forked repository:
git push origin your-branch-name
- Push your changes to your forked repository:
-
Create a pull request:
- Go to your forked repository on GitHub and click on Compare & Pull Request.
- Provide a clear description of the changes you've made and submit the pull request.
- Please follow the Code of Conduct to ensure a positive experience for everyone contributing to this project.
Thank you for contributing to Regex Tester! 🎉