Regular Expression Tester
Enter a JavaScript regular expression and test text to inspect live highlights, match positions, capture groups and replacement output, with common templates to get started.
Processed locally in your browser; data is not uploaded
Features
- Live matching and highlighting
- g / i / m / s / u flags
- Numbered and named captures
- Replacement preview
- Common templates and local history
FAQ
Should I enter the surrounding slashes?
No. Enter only the pattern between the slashes and select flags with the controls on the right.
Is my text uploaded?
No. Matching and replacement run locally with the browser's native JavaScript RegExp engine.
Related tools
- Device Info
- JSON Formatter, Validator and Format Checker
- Code Formatter
- Timestamp Converter
- Unit Converter
- Regular Expression Tester
- HTTP Status and Header Reference
- Online Encoding Converter
- Online Encryption Tool
- Android Quick Reference
- Flutter Quick Reference
- iOS Quick Reference
- Online Translator
- Git Commands
- Terminal Commands
- AI CLI Commands
- Online QR Code Generator and Parser
- Online Curl Command Tool
- Base64 Encoder and Decoder
- Code Compare and Text Diff Tool
- Online Text Processing Tool
- China Tax Calculator
- Mortgage Calculator
- Exchange Rate Calculator
- Focus Training
- Online Image Tool
- Online File Converter
- MD5 Hash Checker and File Info
- Markdown Editor and Preview
- Content Generator
- JWT Decoder and Debugger
- Area Search