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
Cellule.Code
PCRE2 (PHP >=7.3)
Cellule.Code
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.Nom
PCRE2 (PHP >=7.3)
Cellule.Nom
Submitted by
Groupe 18
-
5 months ago
(Last modified 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
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
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
DCL
PCRE2 (PHP >=7.3)
DCL
Submitted by
anonymous
-
5 months ago
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
WT Forum
PCRE2 (PHP >=7.3)
WTFORUMS
Submitted by
wttmforums.com
-
5 months ago
1
https://regex101.com/r/8TUykT/1
PCRE2 (PHP >=7.3)
/(?: ?\G|^cats are )((?:silly|cute)(?: |$))/
Submitted by
anonymous
-
5 months ago
1
Best birth date check
ECMAScript (JavaScript)
Format YYYY-MM-JJ
Submitted by
anonymous
-
5 months ago
1
C-style compiler directive
PCRE2 (PHP >=7.3)
#(\w+)\s(\w+)\s(\S+) This allows you to capture C-style compiler directives
Submitted by
ThatSoulyGuy
-
5 months ago
1
Birth date check format yyyy-mm-dd
ECMAScript (JavaScript)
Start from 1900-01-01
Submitted by
anonymous
-
5 months ago
1
(Good enough) Birth Date match
PCRE2 (PHP >=7.3)
Follows ISO 8601 standard (YYYY-MM-DD) $1 is year, $2 is month and $3 is day (for substitution)
Submitted by
Danry Bir
-
5 months ago
1
Email id filter
PCRE2 (PHP >=7.3)
This is a filter for E-mail id
Submitted by
anonymous
-
5 months ago
1
Exponential Value Identification
PCRE2 (PHP >=7.3)
Exponential Value Identification
Submitted by
Nimit Bhagat
-
5 months ago
1
Domain with protocol, Username, Third-Level-Domain, Second-Level-Domain, Top-Level-Domain and Port.
PCRE2 (PHP >=7.3)
Get Complete Domain with protocol, username, Third-Level-Domain, Second-Level-Domain, Top-Level-Domain and Port For Example: Course at https://udemy.com/path/to/course Test at http://user@sample.com/path Something ftp://domain.com:80/any...
Submitted by
amnd33p
-
5 months ago
(Last modified 5 months ago)
1
match time offset from timezone offset string
ECMAScript (JavaScript)
match offset from utc offset string returned by the timeZoneName property of an Intl.DateTimeFormat object. (see MDN documentation here)
Submitted by
Lagoffre
-
5 months ago
(Last modified 5 months ago)
1
Email validation
PCRE2 (PHP >=7.3)
This code used to validate any email.
Submitted by
anonymous
-
5 months ago
1
change markdown image embeds to html image embeds
PCRE2 (PHP >=7.3)
change markdown image embeds to html image embeds
Submitted by
spierceVR
-
5 months ago
1
...
839
840
841
842
843
...
902
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
^\s
*
(?:
[
a
-
z
]
{2,}
\.
\s
*
)?
(?:
[
a
-
zñ
]
{2,}
\s
*
[
a
-
zñ
]
*
,
\s
*
[
a
-
zñ
]
+
\s
*
[
a
-
zñ
]
*
(?:
[
a
-
zñ
]
\.
?
\s
*
){0,3}
|
[
a
-
zñ
]
+
\s
*
[
a
-
zñ
]
*
\s
+
(?:
[
a
-
zñ
]
\.
?
\s
*
){0,3}
[
a
-
zñ
]
{2,}
\s
*
[
a
-
zñ
]
*
)
\s
*
(?:
[
a
-
zñ.,
]
)*
$
/
gim
Open regex in editor
Description
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 on full name convention.
Optional Name prefix (with period), Name suffix
Allowed alphabet characters only A to Z and Ñ. Allowed symbol are comma and period on valid places only. regex must be set ignore casing.
Forgiving extra whitespace typographical error.
Safely usable in VBA Regex.
Submitted by
cpq.pinoy
-
5 months ago
(Last modified 5 months ago)