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,040 community submitted regex patterns...
1
C-style variable Regex
PCRE2 (PHP >=7.3)
This is a regex for a C-style variable capture. Group 1 is the type, group 2 is the name, group 3 is the operator, and finally, group 4 is the value.
Submitted by
ThatSoulyGuy
-
5 months ago
1
DCL
PCRE2 (PHP >=7.3)
DCL
Submitted by
anonymous
-
5 months ago
1
WFFs for Propositional Logic (External Paranthesises Excluded)
PCRE2 (PHP >=7.3)
Matches strings that are Well-formed-formulas in Propositional with the following symbols {⊤,⊥,∧,∨,¬,→,↔} This matches with formulas that are looser then defined by formal syntax (See https://en.wikipedia.org/wiki/Well-formed_formula#Propositional_calculus). Namely, it's able to match with \> No Ext...
Submitted by
Gabriel Weredyk
-
5 months ago
(Last modified 5 months ago)
1
Truth-Functional wffs as defined by Formal Syntax
PCRE2 (PHP >=7.3)
Matches a string if the string represents a Well-Formed-Formula in a Truth-Functional-Logic with the symbols {⊥, ¬, ∧, ∨, →, ↔} The rules are as follows: https://en.wikipedia.org/wiki/Well-formed_formula#Propositional_calculus (Outside parenthesis are omitted)
Submitted by
Gbariel Weredyk
-
5 months ago
1
Full Name (Advanced)
PCRE2 (PHP >=7.3)
Full Name convention either as "firstname lastname" or "lastname, firstname" FirstName must be at least 1character long. LastName must be at least 2characters long. Accepts multiple worded name Optional Middle Initial (with period, up to 2 maximum initials). Placement either middle or last depending...
Submitted by
cpq.pinoy
-
5 months ago
(Last modified 5 months ago)
1
Cellule.Nom
PCRE2 (PHP >=7.3)
Cellule.Nom
Submitted by
Groupe 18
-
5 months ago
(Last modified 5 months ago)
1
SQL Condition
PCRE2 (PHP >=7.3)
Not fully compliant, please don't use for security or for anything extremely important. Might be a good jumping off point though (although its a bit hellish looking)
Submitted by
anonymous
-
5 months ago
1
Cellule.Code
PCRE2 (PHP >=7.3)
Cellule.Code
Submitted by
Groupe 18
-
5 months ago
(Last modified 5 months ago)
1
Rate Futures Bloomberg Ticker
PCRE2 (PHP >=7.3)
Parses rate futures bloomberg tickers.
Submitted by
anonymous
-
5 months ago
1
lua uppercase accident
PCRE2 (PHP >=7.3)
Detects lua uppercase accidents.
Submitted by
Erb3
-
5 months ago
1
Datetime any format
PCRE2 (PHP >=7.3)
Datetime any format
Submitted by
RVH
-
5 months ago
(Last modified 5 months ago)
2
tst
PCRE2 (PHP >=7.3)
test
Submitted by
anonymous
-
5 months ago
1
密码
PCRE2 (PHP >=7.3)
必须包含字母数字和特殊字符
Submitted by
anonymous
-
5 months ago
1
Extract all links from HTML / Извлечь все ссылки из HTML
PCRE2 (PHP >=7.3)
Extract all links from HTML including the tag itself and its contents. The content may include other tags, such as H1, img, etc. Извлечь все ссылки из HTML включая сам тег и его содержимое. Содержимое может включать другие теги, например, H1, img и т.д.
Submitted by
a.panarin
-
5 months ago
1
Match inside content of HTML tags
PCRE2 (PHP >=7.3)
Matches only the text between tags. Change the word tag to any HTML tag you want to match.
Submitted by
anonymous
-
5 months ago
1
老铁六六六
PCRE2 (PHP >=7.3)
老铁 666 替换老铁六六六
Submitted by
anonymous
-
5 months ago
(Last modified 5 months ago)
1
Next.js middleware config matcher regex
ECMAScript (JavaScript)
Next.js middleware config matcher regex ~ https://nextjs.org/docs/app/building-your-application/routing/middleware#matcher ~ https://nextjs.org/docs/app/api-reference/file-conventions/middleware#config-object-optional Public - skip middleware /api/auth/*...
Submitted by
iki
-
6 months ago
1
Help
PCRE2 (PHP >=7.3)
please help I'm trying to capture some text parts of a PDF. I have a problem and can't solve it. I need to use a regexReplace, and for that, I need to find the desired item (match), and everything else will be replaced by the match....
Submitted by
anonymous
-
6 months ago
1
changelog
ECMAScript (JavaScript)
changelog
Submitted by
alexsio nau
-
6 months ago
1
12 to 22 digit fedex numbers
PCRE2 (PHP >=7.3)
This regular expression can be used to extract 12 to 22 digit fedex numbers from a string.
Submitted by
anonymous
-
6 months ago
1
...
16
17
18
19
20
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(
[
A
-
z
]
{3}
[
\d
]
{2}
[
\d
]
{1,2}
:
[
\d
]
{1,2}
:
[
\d
]
{1,2}
)
(
[
\d
]
{1,3}
\.
[
\d
]
{1,3}
\.
[
\d
]
{1,3}
\.
[
\d
]
{1,3}
)
(
\[
S
\=
[
\d
]
{9}
\]
)
(
\[
[
A
-
z
]
ID=
.
{1,18}
\]
)
\s
{1,3}
(
\(
N
\s
[
\d
]
{5,20}
\)
)?
(
\s
+
(
.
*
)
)
\s
{1,3}
?
(
\[
Time:
.
*
\]
)?
/
gm
Open regex in editor
Description
no description available
Submitted by
sdf
-
4 years ago