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,000 community submitted regex patterns...
0
Perfect Time timestamp
PCRE (PHP <7.3)
https://github.com/BlueHuskyStudios/Perfect-Time/
Submitted by
Ky Leggiero
-
3 years ago
0
All Kenyan mobile number Regex
PCRE2 (PHP >=7.3)
Match against number sequence using international +254 or local 07 and 01 prefixes.
Submitted by
Faderr Blak
-
3 years ago
0
email with cyrillic
Java 8
email with cyrillic
Submitted by
Mpchest
-
3 years ago
0
YouTube Video Validation Expression
PCRE2 (PHP >=7.3)
This expression validates if a string is a YouTube video. Note this will not work for playlists.
Submitted by
anonymous
-
3 years ago
0
YouTube Video Validation Expression
PCRE2 (PHP >=7.3)
This expression validates if a string is a YouTube video. Note this will not work for playlists.
Submitted by
UnrealApex
-
3 years ago
0
YouTube Video Id Extractor
PCRE2 (PHP >=7.3)
Extracts video id of YouTube videos. Note: will not work for playlists
Submitted by
UnrealApex
-
3 years ago
0
Extract pdc name and version from ApplicationContext-pdc.xml
PCRE2 (PHP >=7.3)
Extract pdc name and version from ApplicationContext-pdc.xml
Submitted by
anonymous
-
3 years ago
0
eliminate doublicated lines in DBCs after transofming TX-Message Attribs to Message-Attribs
PCRE2 (PHP >=7.3)
searches for doublicate lines starting with 'BA'
Submitted by
CZ_LMH
-
3 years ago
0
YouTube ID receiver
ECMAScript (JavaScript)
Detects YouTube link in the standard format and shortcuts and it receives the ID of the YT video.
Submitted by
Velidan
-
3 years ago
0
Phone Regex
Python
For Phone Numbers
Submitted by
anonymous
-
3 years ago
0
Multi Language Letters with single space, no symbol or number or trailing spaces
ECMAScript (JavaScript)
This is tedious
Submitted by
anonymous
-
3 years ago
0
HTML -> echo in bat
PCRE2 (PHP >=7.3)
stage1: % to %% stage2: (\|\"|\;) to \^$1 ...
Submitted by
anonymous
-
3 years ago
0
my_lib
PCRE2 (PHP >=7.3)
without numbers
Submitted by
anonymous
-
3 years ago
0
BanRegex
PCRE2 (PHP >=7.3)
B站”刷寿命“弹幕屏蔽正则
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
my birthday pattern
PCRE (PHP <7.3)
must match format: yyyy-MM-dd
Submitted by
anonymous
-
3 years ago
0
获取秀人模特名字
PCRE2 (PHP >=7.3)
能够获取大部分具备标准格式的秀人套图的模特名字,但没办法解决本身名字中带有空格的问题
Submitted by
anonymous
-
3 years ago
0
select
Java 8
select\s+(\|((\w+(\.\w+)?)+(\s?,\s?\w+(\.\w+)?))|((\w+\(|(\w+\.\w+)?\))(\s+\,\s+)?)+)\s+from\s+(\w+(\s?,\s?\w+)*\;?)(\s+((\w+\s+join)\s+(\w+(\.\w)?\s+on\s+(\w+(\.\w+)?\s+=\s+\w+(\.\w+)?)?)(\s+,\s+)?)+)?(\s+((limit\s+(\w+)?\s?(\,\w+\;)?)|((where)?\s+?(+\s?;))))?
Submitted by
anonymous
-
3 years ago
0
HTML Document or Fragment Heuristic
Python
From the StackOverflow question "Check if a string is html or not" there are many examples and a few approaches, some more expensive than others. Full DOM parsing and detecting constructed DOM elements is sure-fire, but slow, requiring a browser with parser and DOM representation. Regular expression...
Submitted by
Alice Bevan-McGregor
-
3 years ago
0
Get number in the middle of string
Python
From Rp. 1.000.005,52 (35 %) to 1.000.005,52
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Retrieve BSSID and signal strength from netsh
PCRE2 (PHP >=7.3)
Retrieve BSSID and signal strength from netsh
Submitted by
asasine
-
3 years ago
1
...
766
767
768
769
770
...
900
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
^
(
\w
+
-
?
?
\.
?
\w
+
?
\s
+
?
)
(
IN
\s
+
?
[
ACNAME
]
{1,5}
\s
+
)
(
\d
{1,}
)
(
\s
+
)
(
\d
{1,3}
\.
\d
{1,3}
\.
\d
{1,3}
\.
\d
{1,3}
)
$
/
Open regex in editor
Description
move TTL field from route53 zone export from right to left to "IN A/CNAME"
Submitted by
shawn.puschnig@medialets.com
-
9 years ago