Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 18,000 community submitted regex patterns...
0
request_uri_no_qs
PCRE2 (PHP >=7.3)
Regular expression used to get the encoded URI portion of the $request_uri when unencoded $uri breaks a reverse proxy. map $request_uri $request_uri_no_qs { "~^(?+)\?(?:.*)?" $m; default $request_uri; } `
Submitted by
jpatton@gmail.com
-
a year ago
0
Валидность телефона Российской Федерации форматов "+7", "7", "8"
ECMAScript (JavaScript)
Работает с форматами +7, 7, 8 Варианты валидации любые.
Submitted by
anonymous
-
a year ago
0
international telephone number incl. european notation
PCRE2 (PHP >=7.3)
international telephone number incl. european notation
Submitted by
Florian Ledeboer
-
a year ago
0
NLP_Regex
Python
Learning Regex for NLP
Submitted by
anonymous
-
a year ago
0
Nginx parse error log msg
Python
Regex to parse nginx error logs, that can't be converted to json in nginx. To use with fluentbit update group labels from "?P" to "?"
Submitted by
diepes
-
a year ago
0
All Strings for same-lines, Syntax or Parsing
PCRE2 (PHP >=7.3)
All Strings on One Line Php java javascript python escapes all regex...
Submitted by
kai gouthro
-
a year ago
(Last modified a year ago)
0
CUIT Argentina sin guiones
PCRE2 (PHP >=7.3)
CUIT Argentina sin guiones
Submitted by
Lucas David Ferrero
-
a year ago
0
telegram links
PCRE2 (PHP >=7.3)
.
Submitted by
AC Lover
-
a year ago
(Last modified a year ago)
0
Remove .html from url
PCRE2 (PHP >=7.3)
I used in Nginx to rewrite the location from http://example.com/about.html to http://example.com/about
Submitted by
Vijay Amirtha Raj J
-
a year ago
0
Bangladeshi phone numbers
ECMAScript (JavaScript)
Matches all Bangladeshi SIM numbers
Submitted by
Mushfiq Talha
-
a year ago
(Last modified a year ago)
0
Retrieve all number version from tag
PCRE2 (PHP >=7.3)
This regex will retrieve all number in a given tag
Submitted by
Marc Masure
-
a year ago
0
comma separated ESPEC
Python
ESPEC
Submitted by
Ian Cole
-
a year ago
0
Add quotes to a malformed JSON string
ECMAScript (JavaScript)
This Regex allows to add double-quotes to a JSON string that is missing them. It assumes we have a space after the ":" and also after the ",".
Submitted by
anonymous
-
a year ago
0
whois
PCRE (PHP <7.3)
whois find param
Submitted by
anonymous
-
a year ago
0
选择题题目与选项匹配
Python
对有ABCD四个选项的选择题题目进行匹配
Submitted by
Wang Miao
-
a year ago
0
Old Discord Username Match
ECMAScript (JavaScript)
Detect and capture every part of the old discord username system
Submitted by
N0de
-
a year ago
0
New Discord Username
ECMAScript (JavaScript)
Validates if a username is valid or not on the new discord username system
Submitted by
anonymous
-
a year ago
0
AT+ - Image
PCRE2 (PHP >=7.3)
parse at+ syntax
Submitted by
Carsten
-
a year ago
0
Attribute value
PCRE2 (PHP >=7.3)
eeee
Submitted by
Me
-
a year ago
0
Fate Stay/Night (PC/JP) [Py]
Python
Attempting to parse Fate/Stay Night scripts nicely
Submitted by
anonymous
-
a year ago
1
...
896
897
898
899
900
Community Library Entry
-4
Regular Expression
PCRE (PHP <7.3)
/
^
(
20
|
21
)
[
0
-
9
]
{2}
-
(
0
[
1
-
9
]
|
1
[
0
-
2
]
)
-
(
0
[
1
-
9
]
|
[
1
-
2
]
[
0
-
9
]
|
3
[
0
-
1
]
)
$
/
date php
Open regex in editor
Description
Date with this format YYYY-MM-DD and year start 20 or 21 like 2014
Submitted by
cisc0
-
11 years ago