Regex Tester

Regex Tester
Regex TesterPress ESC to exit
/gm/
Flagsg replaces all · m matches per line · v is opt-in (under v, class punctuation must be escaped)

Compiled — matched in {0} ms

Sample text{0} matches
Matches
2024-03-01 09:12:44.201 INFO [worker-3] 订单 SO-2024-0001 已发货 2024-03-01 09:12:45.003 WARN [worker-1] 库存不足,当前剩余 3 件 2024-03-01 09:13:02.887 ERROR [worker-3] 请求超时: https://api.example.com/v1/orders?id=8812 2024-03-01 09:13:44.512 INFO [main] 重试成功,耗时 128ms 2024-03-01 09:14:01.220 ERROR [worker-2] 磁盘写入失败 /var/log/app/error.log

Matches run in a Web Worker with a 1s watchdog, so a catastrophically backtracking pattern is terminated instead of freezing the page. Sample text is capped at 150,000 characters and the match list at 10,000 — those caps bound normal cost, not ReDoS.