Skip to content

A real-time tool to test and debug regular expressions (regex), allowing developers to validate and refine their regex patterns for various programming tasks.

License

Notifications You must be signed in to change notification settings

tholumuzikhuboni/regex-tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Regex Tester

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.

Features

  • 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.

Demo

You can try the Regex Tester here.

Installation

  1. Clone the repository:
    git clone https://github.com/tholumuzikhuboni/regex-tester.git
    
  2. Open index.html in your browser.

Usage

  1. Open the index.html file in your browser.
  2. In the Enter Regex input field, type the regular expression you want to test (e.g., ^\d+$).
  3. In the Test String textarea, enter the text you want to test the regex against.
  4. Click the Test Regex button to see if your regex matches any part of the test string.
  5. The matched groups, if any, will appear in the Matched Groups section below the form.

Contribution

We welcome contributions to improve the Regex Tester tool. If you would like to contribute, follow these steps:

How to Contribute

  1. Fork the repository:

    • Click the Fork button at the top-right corner of the repository page.
  2. Clone your fork:

    • Clone your forked repository to your local machine:
      git clone https://github.com/your-username/regex-tester.git
      
  3. Create a new branch:

    • Create a new branch to make your changes:
      git checkout -b your-branch-name
      
  4. Make your changes:

    • Modify the code, add new features, or fix bugs in the project.
  5. Commit your changes:

    • Commit your changes with a descriptive message:
      git commit -m "Description of your changes"
      
  6. Push your changes:

    • Push your changes to your forked repository:
      git push origin your-branch-name
      
  7. 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.

Code of Conduct

  • Please follow the Code of Conduct to ensure a positive experience for everyone contributing to this project.

Thank you for contributing to Regex Tester! 🎉

About

A real-time tool to test and debug regular expressions (regex), allowing developers to validate and refine their regex patterns for various programming tasks.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages