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 8,000 community submitted regex patterns...
1
JS/ECMAScript - Comprehensive Telephone Number Parser - US Domestic and Overseas - with NAMED Match Data
ECMAScript (JavaScript)
Explanation Breaks out a phone number input into the following named segments: Opt? Matches Name Desc Y (+ - . :space:) LEADING_PUNCT Leading Punctuation Y 1-3 Digits (0-9) COUNTRY_CODE International country code (US: '1') Y (- . :space:) OPT_...
Submitted by
@JJ/ZenAtWork NerdyDeeds, LLC
-
17 days ago
1
O group
ECMAScript (JavaScript)
Oracle Software Owner for Each Oracle Software Product You can create a single user (for example, oracle) to own both Oracle Database, and Oracle Restart installations. However, Oracle recommends that you create one software owner to own each Oracle software installation (typically, oracle, for the ...
Submitted by
anonymous
-
18 days ago
1
Bitcoin Address Validator
PCRE2 (PHP >=7.3)
A regex to validate Bitcoin addresses.
Submitted by
Rimblehelm
-
20 days ago
1
Polynomial extractor with real coefficient
PCRE2 (PHP >=7.3)
It matches any polynomial with integer or real coefficient
Submitted by
eFrim
-
20 days ago
(Last modified 20 days ago)
1
Smax micro focus Web ports regex
ECMAScript (JavaScript)
Smax micro focus Web ports regex
Submitted by
Resul MUŞLU
-
21 days ago
1
RM
ECMAScript (JavaScript)
Smax Micro Focus Regex
Submitted by
Resul MUŞLU
-
21 days ago
(Last modified 21 days ago)
1
groupping by :#
PCRE2 (PHP >=7.3)
sed 's/\(:#\)./ -CLEARED-/g'
Submitted by
anonymous
-
23 days ago
1
happy birthday
PCRE2 (PHP >=7.3)
match hbds
Submitted by
anonymous
-
23 days ago
1
Regex to catch prices
PCRE2 (PHP >=7.3)
(faturou\s|faturamento de\s|faturei\s|de um faturamento )(mais\sde\s)(((((R\$)+(\s)(\d){1,6}(\s)((\.|\,)\d{1,3}|k|mil))))+|((de\s(\d){1,3}(k|mil)\spara\s(\d){1,3}(k|mil)))+)(\sde\sfaturamento)(\sem\s(menos\sde\s)(\d{1,2})\sdias)(\sfoi o que a minha (aluna|cliente|mentoranda|mentorada)+ faturou)(\sap...
Submitted by
Leonardo Paris
-
25 days ago
1
camelCase -> snake_case
PCRE2 (PHP >=7.3)
Works with many forms of alphanumeric camelCase camelCase camel camelCaseCaseCase... (with as many words as you want) ca65melCase (ca65mel_case) camelCCase (camel_c_case)...
Submitted by
inesvar
-
25 days ago
1
PascalCase -> snake_case
PCRE2 (PHP >=7.3)
Works with many forms of alphanumeric PascalCase PascalCase Pascal PascalCaseCase Pascal684Case (pascal684_case) Pas45calCase (pas45cal_case)...
Submitted by
inesvar
-
25 days ago
1
simple email validator
PCRE2 (PHP >=7.3)
Email address validator
Submitted by
anil
-
a month ago
1
Python logs parser (Airflow)
Python
Parser for individual row of log pattern for parsing row in format: [2023-03-11 00:00:07,377] {taskinstance.py:1088} INFO - Starting attempt 1 where: - time_full: [2023-03-11 00:00:07,377]...
Submitted by
anonymous
-
a month ago
1
homework 1
PCRE2 (PHP >=7.3)
this is the answer for question 1
Submitted by
Christian Thrige Nielsen
-
a month ago
1
Remove multiple forward slash from url
PCRE2 (PHP >=7.3)
(): This is a capturing group that matches any character except a colon :, and it captures this character for later use in the replacement. (/ {2,}): This part matches two or more consecutive forward slashes. The replacement part $1/ uses the captured character from the first part (which is any char...
Submitted by
Apon Ahmed
-
a month ago
(Last modified a month ago)
1
IPv4 address with optional CIDR suffix
ECMAScript (JavaScript)
Matches any valid IPv4 address with, optionally, a CIDR suffix. 0.0.0.0 to 255.255.255.255 and 1.1.1.1/0 to 1.1.1.1/32. Use the following regex if you don't want to allow the CIDR suffix. /^(?:(?:[1-9]?[0-9]|10-9|2(?:0-4|5[0-5]))\.){3}(?:[1-9]?[0-9]|10-9|2(?:0-4|5[0-5]))$/...
Submitted by
MAZ01001
-
a month ago
1
Credit card regex
PCRE2 (PHP >=7.3)
Credit card name and surname with turkish char
Submitted by
anonymous
-
a month ago
0
PLP redirection
PCRE2 (PHP >=7.3)
PLP redirection
Submitted by
anonymous
-
a month ago
1
Regex to Match Regular Expression in JS/TS
PCRE2 (PHP >=7.3)
Matches regular expressions in JS/TS (EcmaScript) code including none or one of the flags g, i`, m, u, y`.
Submitted by
Redu
-
a month ago
1
Match Single Line (//) Comments in JSON
PCRE2 (PHP >=7.3)
Doesn't get confused by the url values like "https://www.example.com" or "file:///some.txt"
Submitted by
Redu
-
a month ago
(Last modified a month ago)
1
2
3
4
...
400
DTM Validation
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(?'YYYY'
[
\d
]
{4}
)
(?'MM'
[
\d
]
{0,2}
)
(?'DD'
[
\d
]
{0,2}
)
(?'HH'
[
\d
]
{0,2}
)
(?'NN'
[
\d
]
{0,2}
)
(?'SS'
[
\d
]
{0,2}
)
(?'MS'
[
\.
]
{1}
[
\d
]
{0,4}
)?
(?'TZ'
[
+|-
]
[
\d
]
{4}
)?
$
/
gm
Open regex in editor
Description
DTM Validation
Submitted by
Mike Cheel
-
2 years ago