An open API service indexing awesome lists of open source software.

https://github.com/tholumuzikhuboni/regex-tester

A real-time tool to test and debug regular expressions (regex), allowing developers to validate and refine their regex patterns for various programming tasks.
https://github.com/tholumuzikhuboni/regex-tester

boostrap5 css debbuging debugger html javascript regex regex-tester tool

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](https://regex-tester.tholumuzi.co.za).

## Installation

1. Clone the repository:
```bash
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](https://www.contributor-covenant.org/) to ensure a positive experience for everyone contributing to this project.

Thank you for contributing to **Regex Tester**! 🎉