{"schemaVersion":1,"id":"det-regexr","name":"RegExr","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/det-regexr/","officialUrl":"https://regexr.com/","isCatalog":false,"description":"An interactive environment for testing and learning JavaScript and PHP/PCRE regular expressions. Shows matches, groups, and explanations, and lets you assemble test cases.","tasks":["Test an expression for search or validation","Investigate a regex error with Codex using a specific example"],"categoryIds":["quality","infrastructure"],"subcategoryIds":["quality.testing","infrastructure.developer"],"tags":["Regular expressions","JavaScript","PCRE"],"aliases":[],"platforms":[],"stack":["JavaScript"],"compatibility":null,"pricing":"free","freeUsage":"Checks, reference material, and testing are free in the browser; login is required to save your own patterns/favorites.","paidUsage":null,"license":"GPL-3.0 for RegExr source code.","selectionGuide":{"purpose":"Test an expression for search or validation","chooseWhen":["Test an expression for search or validation","Investigate a regex error with Codex using a specific example"],"considerInstead":[],"requirements":["Before testing, choose JavaScript or PHP/PCRE according to the target code."],"limitations":["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."],"faq":[{"question":"What can you use for free in RegExr?","answer":"Checks, reference material, and testing are free in the browser; login is required to save your own patterns/favorites."},{"question":"What are the access terms for RegExr?","answer":"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."},{"question":"What terms of use matter for RegExr?","answer":"GPL-3.0 for RegExr source code."},{"question":"Which environment can you use RegExr in?","answer":"Tech stack: JavaScript."},{"question":"How do you get started with RegExr?","answer":"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."},{"question":"Why must an expression be tested in the selected engine?","answer":"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."}],"related":[],"sources":["https://regexr.com/","https://github.com/gskinner/regexr/","https://raw.githubusercontent.com/gskinner/regexr/master/README.md"]},"selectionCheckedAt":null,"applicationGuide":{"inputs":["A regular expression and examples that should and should not match.","The target engine: JavaScript or PHP/PCRE, and the flags in use."],"steps":["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."],"checks":["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."],"goal":"Example workflow with RegExr: Test an expression for search or validation."},"sources":["https://regexr.com/","https://github.com/gskinner/regexr/","https://raw.githubusercontent.com/gskinner/regexr/master/README.md"],"checkedAt":"2026-10-03","reviewScope":"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.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Tool","kind":"tool","pricingNote":"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.","notes":null,"labeledSources":[{"url":"https://regexr.com/","label":"Official website"},{"url":"https://github.com/gskinner/regexr/","label":"Source code"},{"url":"https://raw.githubusercontent.com/gskinner/regexr/master/README.md","label":"Official source"}],"licenseGuides":[{"id":"gpl-3","title":"GPL 3.0 — open-source code with copyleft","scope":null,"summary":"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.","url":"https://opensource.org/license/gpl-3.0"}],"entryIds":[],"composition":null}