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
Community Patterns
Search among 12,820 community submitted regex patterns...
1
LDAP basedn check
PCRE (PHP <7.3)
Check a given LDAP base DN with or without a hostname
Submitted by
Daywalker
-
8 years ago
1
MRZ Line 2
PCRE (PHP <7.3)
Machine readable passport rule for the second line
Submitted by
Igor Ferreira
-
8 years ago
1
MRZ Line 1
PCRE (PHP <7.3)
Machine Readable passport rule for first line
Submitted by
Igor Ferreira
-
8 years ago
1
Replace <?= $variable ?> with <?= purify($variable) ?>
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Empty Blank String Validator
ECMAScript (JavaScript)
Validation Expression to validate Blank String checks
Submitted by
zaheer
-
8 years ago
1
aegn_closing
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Complex Password
PCRE (PHP <7.3)
Check if there's at least a lowercase, uppercase, digit and punctuation mark.
Submitted by
anonymous
-
8 years ago
1
CORS regex filter
PCRE (PHP <7.3)
Regex to validate a Access-Control-Allow-Origin value
Submitted by
anonymous
-
8 years ago
1
Phone Number with no letters or spaces
PCRE (PHP <7.3)
Phone Number with no letters or spaces
Submitted by
JP Hunter
-
8 years ago
1
Use capturing groups to grab CSV columns
PCRE (PHP <7.3)
This regex gets the first, the last and the middle part as capturing groups and matches the trailing semicolon as a non-capturing group. This allows you to resort CSV columns.
Submitted by
Unkulunkulu
-
8 years ago
1
gas vars
PCRE (PHP <7.3)
finds definitions of gas vars in map edits (SS13 /tg/station)
Submitted by
duncathan
-
8 years ago
1
Поиск href в строке
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Matches Everything
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
C#
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
don't match mysite or google
PCRE (PHP <7.3)
check referrer when redirecting
Submitted by
Sandra
-
8 years ago
1
hora
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Shot Analysis Pattern
ECMAScript (JavaScript)
no description available
Submitted by
mail@kevinschiffer.de
-
8 years ago
1
Filter Tag Attributes
PCRE (PHP <7.3)
This expression was created to nullify the HTML Tag Attributes
Submitted by
Capt.Rooster
-
8 years ago
1
hex4
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
FUTURES
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
...
139
140
141
142
143
...
641
Match a URL from a text message
3
Regular Expression
ECMAScript (JavaScript)
/
[
-a
-
zA
-
Z0
-
9@:%._
\+
~#=
]
{2,256}
\.
[
a
-
z
]
{2,6}
\b
[
-a
-
zA
-
Z0
-
9@:%_
\+
.~#?&//=
]
*
/
i
Open regex in editor
Description
I use this to match the first url present in a text message.
Submitted by
anonymous
-
9 years ago