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 9,520 community submitted regex patterns...
0
Name and ID in curly braces
.NET 7.0 (C#)
For a string that starts with '{' and ends with '}' looks for a name and id value within the curly braces. The name group should be trimmed when used to remove leading and trailing whitespace. Ex. {Test10} will result in 2 groups being returned Group 1: Test Group 2: 10
Submitted by
Ryan Felton
-
3 years ago
0
address
PCRE (PHP <7.3)
not sure
Submitted by
anonymous
-
3 years ago
4
C# Regex Extract/Match Nested HTML Elements/Tags
.NET 7.0 (C#)
With this C# regex, you can easily match/Parse Nested HTML tags. Example input: ...
Submitted by
w4po
-
3 years ago
(Last modified a year ago)
0
C-style block comment with "*/" escape
Golang
Match /* ... / with escape of quotation marks, e.g. / "*/" */. No look ahead needed.
Submitted by
Guyutongxue
-
3 years ago
0
camelCase Matches
PCRE (PHP <7.3)
camelCase Matches
Submitted by
anonymous
-
3 years ago
0
camelCase Matches
PCRE (PHP <7.3)
camelCase Matches
Submitted by
anonymous
-
3 years ago
0
Match Strings itself
PCRE (PHP <7.3)
Match Strings itself, include ""
Submitted by
picc_lu
-
3 years ago
0
Split words in brackets
Golang
Split words in brackets
Submitted by
ugurakcil
-
3 years ago
0
cisco cat3650cx & cat1000 'show power inline'
Golang
Matching show power inline output on cat1000 & cat3560cx
Submitted by
me
-
3 years ago
0
instagram regex url get shortcode all type url
PCRE (PHP <7.3)
Get shortcode from all type instagram url group 1 for username group 2 for p group 3 for reel group 4 for tv...
Submitted by
anubiskun
-
3 years ago
0
Strip Azure Devops merge commit for fit changelog
PCRE (PHP <7.3)
Using the right headerPattern that can correctly parse either the merge message or the commit message I was able to workaround the issue
Submitted by
anonymous
-
3 years ago
0
assoc_ff_solucao
PCRE (PHP <7.3)
identifies ff in assoc
Submitted by
anonymous
-
3 years ago
0
Replacing URL through Hyperlink in Text
Golang
Replacing URL through Hyperlink in Text
Submitted by
anonymous
-
3 years ago
0
ds100reg5
PCRE (PHP <7.3)
ds100reg5
Submitted by
anonymous
-
3 years ago
2
regex101.com id grabber
PCRE (PHP <7.3)
Grabs the ID for the regex101.com permalink to code.
Submitted by
Sasha Garan
-
3 years ago
(Last modified 3 years ago)
1
ds100reg4
PCRE (PHP <7.3)
Data 100 Regular Expression 4, adapted from Princeton
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
3
Extract URL parts only named capturing groups
Golang
Extract URL parts only named capturing groups
Submitted by
dixanms
-
3 years ago
0
الرقم القومي المصري Egyptian National ID numer
PCRE (PHP <7.3)
استخراج المعلومات من الرقم القومي المصري لمعلومات اكثر رجاء زيارة: استخراج المعلومات من الرقم القومي المصري برمجياً
Submitted by
anonymous
-
3 years ago
0
chia plot
Golang
chia plot
Submitted by
temple
-
3 years ago
0
Quiz Feed – Pages Only
PCRE (PHP <7.3)
The new quiz feed pages and its sub-feeds. i.e. /quizzes/foo
Submitted by
anonymous
-
3 years ago
1
...
14
15
16
17
18
...
476
Community Library Entry
0
Regular Expression
.NET 7.0 (C#)
@"
\w
+
\w
+
\(
OBJECT
\)
\@
[
a
-
z0
-
9
]
+
"
gm
Open regex in editor
Description
a
Submitted by
anonymous
-
2 years ago