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 15,020 community submitted regex patterns...
0
Replace namespaces in xpath with local-name
.NET 7.0 (C#)
Replace namespaces in xpath with local-name
Submitted by
pvlzh
-
a year ago
0
Session Start/Close
Python
Capturing Start/Close in IRC-logs
Submitted by
Corpset
-
a year ago
0
Proxy Matcher
PCRE (PHP <7.3)
Validate 1-223.0-255.0-255.0-255:1-65535
Submitted by
dev.tntd2k2
-
a year ago
0
vscode-f5 xc reserved ports issue #209
ECMAScript (JavaScript)
https://github.com/f5devcentral/vscode-f5/issues/209
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
Martch Letras y Parentesis
Java 8
Martch Letras y Parentesis
Submitted by
Daniel Gonzalez
-
a year ago
0
strip host port
PCRE (PHP <7.3)
removes port number from URL
Submitted by
pc
-
a year ago
0
List of lists of numbers (no leading zeros)
Python
List of lists of numbers (no leading zeros)
Submitted by
anonymous
-
a year ago
0
shift_factor
Python
extracting constraint id from composed column header
Submitted by
Dario Romero
-
a year ago
0
Egyptian National ID
ECMAScript (JavaScript)
This validates the components of the Egyptian national ID ... See details (Arabic)
Submitted by
Mahmoud Mostafa
-
a year ago
0
Egyptian Phone Numbers
ECMAScript (JavaScript)
Validate Egyptian phone numbers ... Read More (Arabic)
Submitted by
Mahmoud Mostafa
-
a year ago
(Last modified a year ago)
0
Laughter
ECMAScript (JavaScript)
Matches all laughter like: hahahahhhahahahha hahha ahah lol lolollolll...
Submitted by
Prozilla
-
a year ago
0
for killerswim
.NET 7.0 (C#)
a
Submitted by
anonymous
-
a year ago
0
Author cite
Python
Get author names from shitty import
Submitted by
anonymous
-
a year ago
0
chit_kaung_song_names
Python
Extract Singer Chit Kaung's song names in Myanmar + English
Submitted by
paing
-
a year ago
0
匹配中文数字,用于逆向文本标准化
Python
大部分应当匹配的数字都匹配上了。 第2个捕获组,即是内容(可能加的有单位,需要手动去除)
Submitted by
HaujetZhao
-
a year ago
0
Valid HTTP url
Python
Matches in python valid urls (excludes some edge cases), but pretty good to verify an URL before scraping it
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
Official Emeil validation Regex
ECMAScript (JavaScript)
Regex from the Mail::RFC822::Address: regexp-based address validation Access here
Submitted by
Igor Julliano Aguiar Sotero
-
a year ago
0
Youtube Video Id
.NET 7.0 (C#)
Matches the video Id in Youtube URL.
Submitted by
CW
-
a year ago
0
fcc-title-case-a-sentence
ECMAScript (JavaScript)
a regex to find first letter of each word
Submitted by
anonymous
-
a year ago
0
IPv4-CIDR
ECMAScript (JavaScript)
Match IPv4-CIDR (JavaScript)
Submitted by
fwqaaq
-
a year ago
1
...
746
747
748
749
750
751
ECMAScript/JavaScript trim
106
Regular Expression
ECMAScript (JavaScript)
/
^
[
\s
]
*
(
.
*
?
)
[
\s
]
*
$
/
Open regex in editor
Description
Trim leading and trailing whitespace from a string.
Submitted by
fp
-
11 years ago
(Last modified a month ago)