# RegExr

[BASE product page](<https://base.akulich.dev/en/library/det-regexr/>) · [Resource](<https://regexr.com/>)

ID: det\-regexr · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

An interactive environment for testing and learning JavaScript and PHP/PCRE regular expressions\. Shows matches, groups, and explanations, and lets you assemble test cases\.

## Type

Tool

## Entry type

tool

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/det-regexr/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/det-regexr/#resource-access>)

Checks, reference material, and testing are free in the browser; login is required to save your own patterns/favorites\.

## [Access and limitations](<https://base.akulich.dev/en/library/det-regexr/#resource-access>)

Checks, reference material, and testing are free in the browser; login is required to save your own patterns/favorites\. Source code is GPL\-3\.0; consider public visibility when saving and publishing examples\.

## [Use cases](<https://base.akulich.dev/en/library/det-regexr/#resource-tasks>)

- Test an expression for search or validation
- Investigate a regex error with Codex using a specific example

## Tech stack

- JavaScript

## Category IDs

- quality
- infrastructure

## Subcategory IDs

- quality\.testing
- infrastructure\.developer

## Tags

- Regular expressions
- JavaScript
- PCRE

## [Selection purpose](<https://base.akulich.dev/en/library/det-regexr/#resource-selection>)

Test an expression for search or validation

## [Choose this when](<https://base.akulich.dev/en/library/det-regexr/#resource-selection>)

- Test an expression for search or validation
- Investigate a regex error with Codex using a specific example

## [Requirements](<https://base.akulich.dev/en/library/det-regexr/#resource-selection>)

- Before testing, choose JavaScript or PHP/PCRE according to the target code\.

## [Limitations](<https://base.akulich.dev/en/library/det-regexr/#resource-selection>)

- Access terms: Checks, reference material, and testing are free in the browser; login is required to save your own patterns/favorites\. Source code is GPL\-3\.0; consider public visibility when saving and publishing examples\.
- Terms of use: GPL\-3\.0 for RegExr source code\.
- Compatibility between engines cannot be inferred from one successful example\.

## [Questions before use](<https://base.akulich.dev/en/library/det-regexr/#resource-faq>)

### What can you use for free in RegExr?

Checks, reference material, and testing are free in the browser; login is required to save your own patterns/favorites\.

### What are the access terms for RegExr?

Checks, reference material, and testing are free in the browser; login is required to save your own patterns/favorites\. Source code is GPL\-3\.0; consider public visibility when saving and publishing examples\.

### What terms of use matter for RegExr?

GPL\-3\.0 for RegExr source code\.

### Which environment can you use RegExr in?

Tech stack: JavaScript\.

### How do you get started with RegExr?

Test the expression on a short known string and inspect capture groups\. Add negative examples, an empty string, long input, and the required characters\. Move the expression into the target code and repeat the same sample set\.

### Why must an expression be tested in the selected engine?

RegExr supports JavaScript and PHP/PCRE\. Choose the target application's engine, then check matches, groups, and negative examples\. A successful check in one engine alone does not guarantee the same result in another\.

## Sources for the selection guide

- [https://regexr\.com/](<https://regexr.com/>)
- [https://github\.com/gskinner/regexr/](<https://github.com/gskinner/regexr/>)
- [https://raw\.githubusercontent\.com/gskinner/regexr/master/README\.md](<https://raw.githubusercontent.com/gskinner/regexr/master/README.md>)

## [Possible workflow](<https://base.akulich.dev/en/library/det-regexr/#resource-scenario>)

Example workflow with RegExr: Test an expression for search or validation\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- A regular expression and examples that should and should not match\.
- The target engine: JavaScript or PHP/PCRE, and the flags in use\.

## Steps

1. Test the expression on a short known string and inspect capture groups\.
2. Add negative examples, an empty string, long input, and the required characters\.
3. Move the expression into the target code and repeat the same sample set\.

## Check your result

- Exactly the expected segments match; flags and engine have not changed the meaning\.
- Check edge cases in the real project, not only in the expression editor\.

## [License](<https://base.akulich.dev/en/library/det-regexr/#resource-license>)

GPL\-3\.0 for RegExr source code\.

## License explanations for the specified scope

### GPL 3\.0 — open\-source code with copyleft

You can run, modify, and sell the program\. When distributing a GPL program or a derivative product based on it, recipients must receive the corresponding source code and GPL rights; GPL\-covered code cannot be made closed\-source\. Ordinary use of a tool does not make your project or the independent outputs it creates subject to GPL\.

[License terms](<https://opensource.org/license/gpl-3.0>)

## [Sources](<https://base.akulich.dev/en/library/det-regexr/#resource-sources>)

- [Official website](<https://regexr.com/>)
- [Source code](<https://github.com/gskinner/regexr/>)
- [Official source](<https://raw.githubusercontent.com/gskinner/regexr/master/README.md>)

## Editorial review date

2026\-10\-03

## Editorial review scope

The purpose and published terms have been reviewed against the cited primary sources\. This page does not confirm that the product was run or tested in every environment\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
