Instructions ยท Regex Tester
- Open the HTML file in a modern browser. Review Security Check and select Continue.
- Type or paste test text, select a local UTF-8 file, or select Open Sample.
- Enter a raw JavaScript pattern without slash wrappers. Choose the flags you want. Global matching is selected by default.
- Select Test Pattern. To stop an active test, select Cancel. Editing the pattern, flags or text clears the previous result.
- Review offsets and select a match number to inspect captures. Select Download JSON for the retained full values.
Raw JavaScript regular expressions with up to 4,096 UTF-16 code units, on text up to 2,097,152 code units. Matching uses a cancellable worker with a two-second deadline.