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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 2,200 community submitted regex patterns...
1
link findall
Python
Submitted by
Kerem Göksu
-
3 years ago
1
get homepage url from full url
Python
get homepage url from full url
Submitted by
Suraj Shrestha
-
3 years ago
1
Don't match numbers longer than 5 length
Python
using ^ and $
Submitted by
anonymous
-
3 years ago
1
Parse CISCO NEXUS 9xxx/5xxxx show inventory output w/o | json modifier
Python
Parse CISCO NEXUS 9xxx/5xxxx show inventory output w/o | json modifier. Nexus 9xxxx don't have the json output modifier. It's a LINUX based os, so | json would fork a json binary which doesn't exist
Submitted by
skalef
-
3 years ago
(Last modified 3 years ago)
1
ss001
Python
Rep
Submitted by
anonymous
-
3 years ago
1
Parse URLs
Python
A regular expression to parse URLs. Complete with comments.
Submitted by
D. Torres
-
3 years ago
1
Remove HTML tags and comments
Python
Remove HTML tags and comments
Submitted by
Smit Patel
-
3 years ago
1
Monkaa Dataset
Python
Parses Monkaa dataset filenames and extracts all the relevant labels
Submitted by
IP
-
3 years ago
1
match INTEGER val in range [0 ,32767] for unsigned val and [-32768,-1] for signed val
Python
"(^-?)(3276[0-8]$|327[0-5]?[0-9]$|320-6?[0-9]$|3[0-1]?[0-9]?[0-9]?[0-9]$|[0-2]?[0-9]?[0-9]?[0-9]?[0-9]$)"gm
Submitted by
issam-seghir
-
3 years ago
(Last modified 3 years ago)
1
Parse Data Fields
Python
Parsing example
Submitted by
anonymous
-
2 years ago
1
ds100reg2
Python
Data 100 Regular Expressions, adapted from Princeton
Submitted by
anonymous
-
2 years ago
1
Get domain name from URL
Python
Get domain name from URL
Submitted by
anonymous
-
2 years ago
1
Extract time from text
Python
Extract time from text
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
1
Paystub Basic Salary
Python
Extract Amount and Date from Paystub
Submitted by
MAJED MUSA GHANIM
-
2 years ago
1
streets with one or more names with unicode characters in python
Python
streets with one or more names with unicode characters in python
Submitted by
Stanicio
-
2 years ago
1
CRON
Python
Validades cron job time specification
Submitted by
anonymous
-
2 years ago
1
Lua Enhanced: function application compound operator
Python
This is a compound operator that takes a variable and a Example: local x = 9 x f(math.max)= 10 compiles to...
Submitted by
anonymous
-
2 years ago
1
SHA256 HASH
Python
Reference http://wiki.hash.kr/index.php/SHA256
Submitted by
RuvyTale
-
2 years ago
1
Simple HTML to Markup
Python
converts HTML: This is hyperlink. You can click this. to Markup: This is hyperlink. You can click this. which renders like this: This is hyperlink. You can click this.
Submitted by
toryano0820
-
2 years ago
1
Identify a web URL - non ftp
Python
From any text identify a web url. File or ftp urls are not a part of the regex.
Submitted by
wongz - https://stackoverflow.com/a/63022807/326835
-
2 years ago
1
...
100
101
102
103
104
...
110
OCP typedef name
0
Regular Expression
Python
r"
(
ocp
)
(
(
[
A
-
Z
]
+
|
[
A
-
Z
]
[
a
-
z0
-
9
]
+
)
(
\d
|
[
A
-
Z
]
[
a
-
z0
-
9
]
+
)*
)
(
Type
|
Enum
|
Struct
|
Func
)
(
Ptr
)?
"
gm
Open regex in editor
Description
Match to
ocp[CamelCase Name][typedef type][Ptr]
Submitted by
Xiaoxing Cheng
-
a year ago