Input
Without slashes or flags. Enter runs now.
Java and Go patterns are checked, not run. Try in JS runs a translated copy.
Inline flags such as (?i) are not JavaScript. Try in JS moves them to flags.
Examples
Also runs as you type.
Type a pattern, or load an example, to see portability warnings and matches.
Portability
Matches
Test input with matches highlighted
| # | Index | Text | Groups | Named groups |
|---|
No matches.
Replacement
Use it in code
The pattern as typed, written as a source literal for each language.
Behaviour differences between flavors
| Topic | JavaScript | Java | Go (RE2) |
|---|