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
- Data Visualization Tool
- Function Plotter
- Code Formatter
- Timestamp Converter
- Unit Converter
- Color Converter and Picker
- Regular Expression Tester
- URL Parser and Query Editor
- HTTP Status and Header Reference
- Online Encoding Converter
- UUID / ULID Generator and Parser
- Online Encryption Tool
- Android Quick Reference
- Flutter Quick Reference
- iOS Quick Reference
- Online Translator
- Git Commands
- Terminal Commands
- Docker Commands
- Kubernetes 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
- Ball Genesis
- Predation & Reproduction
- N-Sided Cycle
- Red vs Green
- Big Fish Eats Small Fish
- Math Curiosities
- Cron Expression Calculator
- Online Image Tool
- Online File Converter
- MD5 Hash Checker and File Info
- Online Mind Map
- Literacy Flash Cards
- Markdown Editor and Preview
- Content Generator
- JWT Decoder and Debugger
- Major Events Timeline
- Solid Color Fill
- Area Search