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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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 11,840 community submitted regex patterns...
1
No permitir loop con sql
PCRE (PHP <7.3)
((LOOP\s+AT\s+\w\s+INTO\s+\w(.?)\s+)((INSERT|DELETE|UPDATE|MODIFY)\s+(\w\.?\?\s+)(FROM\s+\w\.\s*)?(ENDLOOP\.)))
Submitted by
anonymous
-
4 years ago
1
years old
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Date Regex yyyy-mm-dd with leap year
PCRE (PHP <7.3)
/((20)[0-9]{2}-|1[02])-|12|3[01]))|((20)[0-9]{2}-|11)-|12|30))|((20)[0-9]{2}--|1[0-9]|2[0-8]))|((((20)(04|08|2468|13579))|2000)-[-]29)/g
Submitted by
anonymous
-
4 years ago
1
Find multiple consecutive occurrences of identical digits in a number
PCRE (PHP <7.3)
Example: Find the digit that repeats three times in a row in "451999277". Regex: "(\d)\1\1" (\d) - capture group for the digit and first occurrence \1 - matches one more consecutive occurrence of captured digit
Submitted by
anonymous
-
4 years ago
1
fechas
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
fechasDDMMyyyy
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
DT_LeihNr
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
depchecker variable capture
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
prekladanie pismen znakmi
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
RegEx Teléfono
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
SSN
PCRE (PHP <7.3)
Match full SSN
Submitted by
anonymous
-
4 years ago
1
Cuting Email
PCRE (PHP <7.3)
This little regex is taking an email and creating 2 group first is for before the @ sign and the second is for after the @ sign
Submitted by
anonymous
-
4 years ago
1
Barb's Stream Image Filter
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Phone Number
PCRE (PHP <7.3)
123 456 7890 (123) 456 7890 (123) 456-7890 1234567890 123 456 7890 123 4567890...
Submitted by
anonymous
-
4 years ago
1
A 'Bulletproof' URL Regular Expression Parser
PCRE (PHP <7.3)
A well-documented, easy to modify bulletproof regular expression that matches complete URLs or URL components. Components include: Schema scheme/protocol**: use an OR statement to add FTP, etc....
Submitted by
anonymous
-
4 years ago
1
PSR-16 Cache Key
PCRE (PHP <7.3)
https://www.php-fig.org/psr/psr-16/ Key - A string of at least one character that uniquely identifies a cached item. Implementing libraries MUST support keys consisting of the characters A-Z, a-z, 0-9, _, and . in any order in UTF-8 encoding and a length of up to 64 characters. Implementing librarie...
Submitted by
anonymous
-
4 years ago
1
Dimensions from part descriptions
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
PHP Class Capture Groups from symbol string for Class, Namespace, Operation (Mutator or Accessor), Target and Method Names
PCRE2 (PHP >=7.3)
The is helpful for parsing the symbolic reference of a PHP class object for validation or just determining the type and target for the operator. The expression is intended for working with classes and class methods, so the value on the right of the Paamayim Nekudotayim :: will alway be regarded as ...
Submitted by
Jacob Canote
-
3 years ago
(Last modified 3 years ago)
1
Email Validation
PCRE (PHP <7.3)
basic email validation
Submitted by
anonymous
-
4 years ago
1
Capturing everything up until the first _ or -
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
...
528
529
530
531
532
...
592
Email Validation
1
Regular Expression
PCRE (PHP <7.3)
/
^
[
\w
]
{1,}
[
\w
.+-
]
{0,}
@
[
\w
-
]
{2,}
(
[
.
]
[
a
-
zA
-
Z
]
{2,}
|
[
.
]
[
\w
-
]
{2,}
[
a
-
zA
-
Z
]
{2,}
)
/
gm
Open regex in editor
Description
basic email validation
Submitted by
anonymous
-
4 years ago