HTTP/2 301
date: Mon, 29 Dec 2025 15:30:38 GMT
content-type: text/html; charset=iso-8859-1
location: https://regexr.com/
server: cloudflare
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=eTE6O2L%2FQMmWpthTZ4f3FNpXy4TgGgB6S3CCOpBBg%2F1i46%2FFCd7O2lbwas5OlOuhXVwF2s3egog8KCIsd2mkgxzo6ggW29tKjiFbD%2FN0"}]}
cf-cache-status: DYNAMIC
cf-ray: 9b5a56fd693d484d-BOM
alt-svc: h3=":443"; ma=86400
HTTP/1.1 301 Moved Permanently
Date: Mon, 29 Dec 2025 15:30:38 GMT
Content-Length: 0
Connection: keep-alive
Location: https://regexr.com/
Vary: accept-encoding
Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=jsV1XCF9Kb2ZVTBMXLEv4KIB8IjcH1ldb6i9aMpRzp1pEmyea66GRm64uiTamr1hf3VfLZU0cFUZhrnXU%2F5zBS77Kws%2FVtgxOJI%3D"}]}
Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
Server: cloudflare
CF-RAY: 9b5a57008ab8c617-BOM
alt-svc: h3=":443"; ma=86400
HTTP/2 200
date: Mon, 29 Dec 2025 15:30:39 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
expires: Thu, 19 Nov 1981 08:52:00 GMT
cache-control: no-store, no-cache, must-revalidate
pragma: no-cache
set-cookie: session=71d17afccc8075459f90b0867d76e96b; expires=Fri, 27-Feb-2026 15:30:39 GMT; Max-Age=5184000; path=/
vary: Accept-Encoding,User-Agent
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=EToUPbMwkSHymPXKUWwr11FKM36Lnr8HLjMLf4EPv3Mt9v3vUrBlQ7L49kEOT%2BcAo%2ForKo10qeLedHeYUszFz5HO%2Bs%2FeX7s1zTU%3D"}]}
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
cf-cache-status: DYNAMIC
content-encoding: gzip
cf-ray: 9b5a57011f80de40-BOM
alt-svc: h3=":443"; ma=86400
RegExr: Learn, Build, & Test RegEx
Add Test
Build a suite of tests that your expression should (or should not) match.
Create new tests with the 'Add Test' button. Click a test to edit the name, type, & text.
| Character classes |
| . | any character except newline |
| \w \d \s | word, digit, whitespace |
| \W \D \S | not word, digit, whitespace |
| [abc] | any of a, b, or c |
| [^abc] | not a, b, or c |
| [a-g] | character between a & g |
| Anchors |
| ^abc$ | start / end of the string |
| \b \B | word, not-word boundary |
| Escaped characters |
| \. \* \\ | escaped special characters |
| \t \n \r | tab, linefeed, carriage return |
| Groups & Lookaround |
| (abc) | capture group |
| \1 | backreference to group #1 |
| (?:abc) | non-capturing group |
| (?=abc) | positive lookahead |
| (?!abc) | negative lookahead |
| Quantifiers & Alternation |
| a* a+ a? | 0 or more, 1 or more, 0 or 1 |
| a{5} a{2,} | exactly five, two or more |
| a{1,3} | between one & three |
| a+? a{2,}? | match as few as possible |
| ab|cd | match ab or cd |
Sign in to avoid losing your patterns!
Signed in as --
Saving will create a shareable public link.
Shareable link