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
Hex colours
PCRE2 (PHP >=7.3)
no description available
Submitted by
Mark Cooper
-
4 years ago
0
transaction_lazypay
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
#67135
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
username
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
apt 304 rangeRegex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
-2
LinuxOSVersion
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
DS_W2_L1_grouping
Python
Same temperature measurement extraction example but this time using grouping such that we can choose only the positive measurements before September 10
Submitted by
anonymous
-
4 years ago
0
DS_W2_L1_extracttempmeasurements
Python
Extracting temperature measurements from txt file
Submitted by
anonymous
-
4 years ago
-2
Exclude particular word in phrase
PCRE2 (PHP >=7.3)
this will exclude particular phrase from a line. means it will match only those line which dont have those word
Submitted by
anonymous
-
4 years ago
0
ISO 8601 Define Date Time Check
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
extract_field_names_AA
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Javascript function declaration to arrow function declaration regex
PCRE2 (PHP >=7.3)
This regex takes a function declaration and transforms it to an arrow function. Replace: const $1 = $2 => $3;
Submitted by
anonymous
-
4 years ago
0
Foundational Offering URLs
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Foundational Offering URLs
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Growth Offering URLs
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
USA cities with special characters
ECMAScript (JavaScript)
this should cover all USA cities with special characters as per https://en.wikipedia.org/wiki/List_of_U.S._cities_with_diacritics
Submitted by
Pavel Dominguez
-
4 years ago
0
Get h2
PCRE2 (PHP >=7.3)
Wyciąga treść z nagłówków h2.
Submitted by
anonymous
-
4 years ago
(Last modified 4 years ago)
1
Factorisation.
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2
Persian Mobile Number
PCRE (PHP <7.3)
Persian Mobile Number Matching Iran's international phone code is +98 and sometimes people use 0098. All mobile numbers starts with 9 after the code. So this pattern matches exactly a sequence of characters which starts with one of +989, 0098 or 09 prefixes and total count of characters after thes...
Submitted by
anonymous
-
4 years ago
0
Name Matching
ECMAScript (JavaScript)
lookahead
Submitted by
Gihan Wijesundara
-
4 years ago
1
...
243
244
245
246
247
...
900
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
[^
&
\w
]
|
_
/
gm
Open regex in editor
Description
在清除字符串里的非字母数字字符且需要留下&用于拆分时可用
Submitted by
acoderwu
-
4 years ago