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 11,520 community submitted regex patterns...
1
verifyIPV6
Java 8
verificare indirizzo IPV6 (regole base)
Submitted by
Luigi Piccinni
-
5 months ago
1
Email Address Validation
Python
RegEx pattern to match email addresses. Visit the detailed tutorial to learn more.
Submitted by
Minh Vu
-
5 months ago
(Last modified 5 months ago)
1
NANP Modern Plan US Telephone / Phone number
Python
Match 10-digit phone number that mostly complies with NANP Modern Plan. https://en.wikipedia.org/wiki/North_American_Numbering_Plan Simple explanation: ...
Submitted by
makinhey
-
5 months ago
(Last modified 5 months ago)
2
Check Email Validity
Java 8
Regular expression to check the email syntax validity. Certainly requires improvement, but it's a good basis to work from. Work with Java and JavaScript.
Submitted by
Alain TOMASIAN <alain.tomasian@kaptus.fr>
-
5 months ago
(Last modified 5 months ago)
1
Gradient for minecraft
Java 8
This is for my plugin project
Submitted by
Trần Thế Anh
-
5 months ago
1
77870294
PCRE (PHP <7.3)
618001/041881 564094
Submitted by
960203095053
-
5 months ago
(Last modified 5 months ago)
1
задание_03
Python
задание_03
Submitted by
anonymous
-
5 months ago
(Last modified 5 months ago)
1
instagram url
Python
gets the url instagram
Submitted by
samuel06santos
-
6 months ago
1
Remove ANSI Escape Code
Python
Remove ANSI Escape Code
Submitted by
diaogong
-
6 months ago
1
Youtube Video ID
Java 8
Extract youtube video ID
Submitted by
anonymous
-
6 months ago
(Last modified 6 months ago)
1
Extract tag name and its content
Python
Lrc file
Submitted by
Cricar
-
6 months ago
1
Match each tag
Python
Match each tag in a lrc file
Submitted by
Cricar
-
6 months ago
1
Group tags and lyrics
Python
Group tags and lyrics in one lrc file, multiple lines
Submitted by
Cricar
-
6 months ago
1
Improvement on Python Print substitution argument matching
Python
Get the python substitution strings from inside of print statements. Replace the whole substitution string with {{ ArgumentName }} for use in a Jinja2 rendering. Supports fstrings...
Submitted by
Giles Knap
-
7 months ago
1
Python Print String arg extraction
Python
Extract substitution parameters from python print strings works with fstrings old style format strings old style %(variable) strings
Submitted by
Giles Knap
-
7 months ago
1
Extract text strings from repeating text fields followed by a suffix
Java 8
This regex expression is useful for extracting only the text string from a value in a column that may contain values from individual rows with repeat strings tagged with a suffix. For example - Row 1: "Sales (#1)", Row 2: "Sales Match (#2)". From the shared examples, this regex will extract the text...
Submitted by
nilotpalc
-
7 months ago
1
groupping math every 2 comma separator
PCRE (PHP <7.3)
i have paste \n after every 2-th comma using sed sed 's/\(\(*,\)\{2\}\)/\1\n/g'
Submitted by
sanekmihailow
-
7 months ago
1
Remove specific parameter from URL
PCRE (PHP <7.3)
This pattern finds a parameter (sst) key + value in a GET request URL. When replaced with an empty string, effectively removes the parameter. Works with both full URLs and isolated query strings. Works in PCRE and PCRE2. Full use case: if (isset($_GET["sst"])) { // validate...
Submitted by
Martin Holt
-
7 months ago
(Last modified 7 months ago)
1
CSV
Java 8
Crude CSV regex to split only by characters surrounded by non-whitespace characters. Ignore that it dosen't highlight all of the other commas in the editor. If you select the g regex flag it will properly show here, but not work in Java. Credit to @merosity (Merosity#0135) on Discord!
Submitted by
Merosity, regice202
-
8 months ago
1
Opportunity Close
PCRE (PHP <7.3)
Prepare batch job for opportunity close
Submitted by
wistlo
-
8 months ago
1
2
3
4
...
576
Search/Replace Pressure sensor calibration
0
Regular Expression
PCRE (PHP <7.3)
/
(
(?<=
"pressure"
..
"pressure"
)
[^
"
]
+
(?=
"
)
\"
*
[
a
-
zA
-
Z
]
+
"
[
,
]
\s
+
)
(
\d
)
[
.
]
(
\d
)
(
\d
+
)
(
,
[^
\d
]
)
(
(
[
-
]
\d
+
)
.
(
\d
)
(
\d
+
)
)
,
[^
\d
]
/
gm
Open regex in editor
Description
Changing from MPa to Bar
Submitted by
anonymous
-
a year ago