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 4,600 community submitted regex patterns...
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
-
a month 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
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
username_unix.gamesave
PCRE2 (PHP >=7.3)
for username_unix.gamesave
Submitted by
anonymous
-
a month ago
1
Estract download speed from Ookla Speedtest output
PCRE2 (PHP >=7.3)
surely can be optimized more, but it does the job and the interested number of lines is fairly low.
Submitted by
anonymous
-
a month ago
1
111
PCRE2 (PHP >=7.3)
((?:[零一二三四五六七八九十百]+))$
Submitted by
anonymous
-
a month ago
1
Mediawiki History Dump filenames
Python
Matches filenames of MediaWiki history dumps.
Submitted by
CristianCantoro
-
a month ago
1
loyal
PCRE2 (PHP >=7.3)
loyal
Submitted by
anonymous
-
a month ago
1
named capture
PCRE2 (PHP >=7.3)
simple named capture
Submitted by
Gene
-
a month ago
1
ipmitool sensor
PCRE2 (PHP >=7.3)
Parse stdout from ipmitool sensor
Submitted by
anonymous
-
a month ago
(Last modified a month ago)
1
تمرین اول
PCRE2 (PHP >=7.3)
تمرین اول مبانی پردازش گفتار انتخاب شماره هایی که با صفر یا +98 شروع شده انذ.
Submitted by
mabani.
-
a month ago
(Last modified a month ago)
1
Medicare Number
PCRE2 (PHP >=7.3)
Following the rules setup here https://www.cms.gov/medicare/new-medicare-card/understanding-the-mbi-with-format.pdf
Submitted by
Kyle Salmon
-
a month ago
1
XTREAM / M3U Link
PCRE2 (PHP >=7.3)
Matches the M3U links provided by Xtream servers to stream IPTV
Submitted by
Ɒ○ꝑẹЄпс○ὔпדּẹꭆ
-
a month ago
1
Zuma Game
PCRE2 (PHP >=7.3)
Tests if a Zuma board can be cleared completely
Submitted by
wheatup
-
a month ago
(Last modified a month ago)
1
2
3
4
...
230
Git Commit Message Validation
0
Regular Expression
Python
r"
^
(?:
(?P<type>
(?:
feat
)
|
(?:
fix
)
|
(?:
docs
)
|
(?:
style
)
|
(?:
refactor
)
|
(?:
test
)
|
(?:
merge
)
|
(?:
chore
)
)
(?:
\(
(?P<issue>
.
+
)
\)
)?
:
(?P<subject>
[
A
-
Z0
-
9
]
.
{0,48}
(?!
\.
)
.
?
)
\n
?
)
(?:
\n
(?P<body>
(?:
.
*
\n
?
)+
)
)*
$
"
gm
Open regex in editor
Description
Validate a modified Version of
https://udacity.github.io/git-styleguide/
Submitted by
anonymous
-
a year ago