Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 11,800 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Skillshare matcher regex
Python
Skillshare matcher regex
Submitted by
anonymous
-
a year ago
2023-01-12 18:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Extracting subtitle entries
PCRE (PHP <7.3)
Extract subtitle entries out of SRT files.
Submitted by
anonymous
-
a year ago
2023-01-15 22:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
https://github.com/AriesTriputranto9/datasets.git
PCRE (PHP <7.3)
actions-runner-win-x64-2.300.2.zipDownload We recommend configuring the runner under "\actions-runner". This will help avoid issues related to service identity folder permissions and long path restrictions on Windows. Create a folder under the drive root $ mkdir actions-runner; cd actions-runner# D...
Submitted by
AriesTriputranto
-
a year ago
2023-01-16 11:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get h1-6 tag
.NET (C#)
(.*?)
Submitted by
OlegBel
-
10 months ago
2023-01-17 14:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
NMEA after timestamps
PCRE (PHP <7.3)
Picks up (most?) NMEA messages.
Submitted by
David Harrison
-
10 months ago
2023-01-21 23:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Bit00:sadf::saf
Python
Bit00:sadf::saf 提取
Submitted by
anonymous
-
10 months ago
2023-01-23 04:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Tool Call
Python
f
Submitted by
anonymous
-
10 months ago
2023-01-23 13:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Valid Scientific Notation Number
Java 8
A valid number can be split up into these components (in order): A decimal number or an integer. (Optional) An 'e' or 'E', followed by an integer. A decimal number can be split up into these components (in order):...
Submitted by
cliserkad
-
10 months ago
2023-01-25 19:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get All inst of Characters Name
Python
Standard Script format tv
Submitted by
SummerRay
-
10 months ago
2023-01-26 22:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match IPv4 Valid
.NET (C#)
expression to capture valid IP
Submitted by
anonymous
-
10 months ago
2023-01-27 19:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Search Trailing Commas
PCRE (PHP <7.3)
Regex used for finding trailing commas. Use for troubleshooting PHP 7.2 Codes
Submitted by
anonymous
-
10 months ago
2023-01-30 11:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
vscode 代码snippet 替换 为 pycharm 格式
Python
vscode 代码snippet 替换 为 pycharm 格式
Submitted by
anonymous
-
10 months ago
2023-01-30 12:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match HTML comments with nested comments
PCRE (PHP <7.3)
Even if this is not valid HTML, it's more to understand the concept of recursion in patterns. It was an answer to a Stack overflow question: https://stackoverflow.com/questions/75282404/remove-comments-from-some-generated-html-which-can-be-invalid-with-nested-commen The idea is to use PCRE's recur...
Submitted by
Patrick Janser
-
10 months ago
2023-01-30 13:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
log timestamp
Golang
extract time stamp from log entry
Submitted by
anonymous
-
10 months ago
2023-01-30 15:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
carbon
Java 8
test1
Submitted by
anonymous
-
10 months ago
2023-01-30 16:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Business Address | WI | Trademark | USA
Java 8
s
Submitted by
anonymous
-
10 months ago
2023-01-30 17:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
trim phone number
PCRE (PHP <7.3)
trim phone number
Submitted by
anonymous
-
10 months ago
2023-01-31 12:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Parcing2
PCRE (PHP <7.3)
aa
Submitted by
anonymous
-
10 months ago
2023-01-31 20:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Extract any http https and any url form
PCRE (PHP <7.3)
This will help you to extract any URL inside your text
Submitted by
Abdullah Alweheid
-
10 months ago
2023-01-31 22:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Editoria gamecoin
Python
Capturar editorias do site gamecoin
Submitted by
anonymous
-
10 months ago
2023-02-01 16:42
1
...
577
578
579
580
581
582
583
...
590
MAC Address Python
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Python
r"
^
(
[
0
-
9A
-
F
]
{2}
-
){5}
[
0
-
9A
-
F
]
{2}
$
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
dhakavikaskumar
-
10 months ago
2023-02-08 11:26