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 9,420 community submitted regex patterns...
0
A regex that tries to replace every instance in your site
PCRE (PHP <7.3)
For better exception capturing
Submitted by
anonymous
-
9 years ago
0
Get attributes values of html tags
PCRE (PHP <7.3)
Allow get the value of the some attributes from a html text
Submitted by
Marcelo Fuentes
-
9 years ago
0
time input
PCRE (PHP <7.3)
following input formats work-- 10am to 3pm 1am - 2pm 12pm-3pm
Submitted by
anonymous
-
9 years ago
0
Phone Number Extraction
PCRE (PHP <7.3)
US numbers only
Submitted by
codedude
-
9 years ago
0
phone valid
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Phone numbers
PCRE (PHP <7.3)
PHP
Submitted by
anonymous
-
9 years ago
0
Facebook url regex
PCRE (PHP <7.3)
no description available
Submitted by
Devs Devaras
-
9 years ago
0
add colon between hours and minutes to time (24h system)
PCRE (PHP <7.3)
This expression converts any 3- or 4 digit timevalue to a value with colon between hours and minutes. So 345 is converted to 3:45 and 1500 is converted to 15:00
Submitted by
Patrick Sinke
-
9 years ago
0
Nickname
PCRE (PHP <7.3)
Nickname validation. Only: letters _ One line. Tested with RoR
Submitted by
Paramoshkin Andrew
-
9 years ago
0
/[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
url and path match with or without http|https
PCRE (PHP <7.3)
this is the most perfect pattern I reach for url with query or anchor
Submitted by
Gehad Mohamed
-
9 years ago
0
Registration Email Address
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
IP V4 with leading zero values
PCRE (PHP <7.3)
no description available
Submitted by
shA.t
-
9 years ago
0
SQL: insert into
PCRE (PHP <7.3)
insert[\s]+into[\s]+\([\s](?.?)[\s]\)[\s]+values[\s]+\((?.?)[\s]*\);
Submitted by
suat erenler
-
9 years ago
0
negative lookbehind
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Match links in html
PCRE (PHP <7.3)
Matches all from
Submitted by
anonymous
-
9 years ago
0
DateTime: yyyy-M-d-HH-mm-ss (.NET)
PCRE (PHP <7.3)
Validates DateTime in format 'yyyy-M-d-HH-mm-ss'(.NET) in mind with possible zeros, minimal values, maximal values and infinite year
Submitted by
CryoCZ
-
9 years ago
0
Email verification
PCRE (PHP <7.3)
no description available
Submitted by
SonnY
-
9 years ago
0
Not the Monster
PCRE (PHP <7.3)
no description available
Submitted by
Sif Baksh
-
9 years ago
0
Windows Registry Binary(Hex)
PCRE (PHP <7.3)
Get value of windows registry on hex format
Submitted by
Respeto
-
9 years ago
1
...
19
20
21
22
23
...
471
Community Library Entry
0
Regular Expression
Rust
r"
\b
(
0x
)?
\p{Hex_Digit}
+
\b
"
g
Open regex in editor
Description
Find hexadecimal numbers using Extended Unicode Support.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)