Check order-number matching
Pattern: ORD-\d{6}
Text: Refund ORD-104238 before Friday.Confirm the full match and capture groups before using the expression.
Workspace loading
Test regular expressions with live match details. Use it to inspect or prepare a focused JavaScript snippet. Patterns and test text stay in this browser.
See matches and capture groups while you edit. The active pattern and result are saved locally.
Toolify tests JavaScript regular expressions. Other engines can handle syntax differently. Copy or download match output as text.
Pattern: ORD-\d{6}
Text: Refund ORD-104238 before Friday.Confirm the full match and capture groups before using the expression.
Patterns and test text stay in this browser. The active pattern and result are saved locally.
JavaScript regular expression syntax, Unicode text. Toolify tests JavaScript regular expressions. Other engines can handle syntax differently.
Copy or download match output as text.
Complex expressions can take a long time on adversarial input.
Compare two text versions and review added, removed, modified, and whitespace-only lines.
Text tools
Compare two text versions and review added, removed, modified, and whitespace-only lines.
Find text, whole words, or regular expressions and replace matches in the current document.
Text tools
Find text, whole words, or regular expressions and replace matches in the current document.
Format JavaScript with the Prettier parser.
JavaScript tools
Format JavaScript with the Prettier parser.
01 · Define
/\/order-\\d+\/gi/gi02 · Probe
03 · Inspect
No matches
04 · Detail
Capture groups appear after a match.
No matches