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 9,320 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MBI Regex
PCRE (PHP <7.3)
validates against the MBI format published by CDC
Submitted by
i410hlr
-
8 months ago
2023-02-07 13:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Parse arguments
PCRE (PHP <7.3)
Parse arguments
Submitted by
Ofir Yariv
-
8 months ago
2023-02-07 12:36
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Phone number for all countries
.NET (C#)
Phone number for all countries. Valid symbols: ( ), -, whitespace
Submitted by
Alexander Smirnov
-
8 months ago
2023-02-07 07:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
15.02.2022 15:00:00
.NET (C#)
15.02.2022 15:00:00
Submitted by
anonymous
-
8 months ago
2023-02-06 12:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Minimum 10 herhangi dijit
.NET (C#)
Minimum 10 herhangi dijit
Submitted by
anonymous
-
8 months ago
2023-02-06 12:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
USD
.NET (C#)
USD
Submitted by
anonymous
-
8 months ago
2023-02-06 12:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
01 Jan 2022 Mon 01:02:03
.NET (C#)
01 Jan 2022 Mon 01:02:03
Submitted by
anonymous
-
8 months ago
2023-02-06 12:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
^[A-Z,a-z,\-, ,\&]+$
.NET (C#)
Koray Bilgi, Text-Regex
Submitted by
anonymous
-
8 months ago
2023-02-06 12:47
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
MMM DDD YYYY
.NET (C#)
FEB MON 2023
Submitted by
anonymous
-
8 months ago
2023-02-06 12:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
User-Agent
PCRE (PHP <7.3)
Parser
Submitted by
sn3kdev
-
8 months ago
2023-02-02 21:06
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
-
8 months ago
2023-01-31 22:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Parcing2
PCRE (PHP <7.3)
aa
Submitted by
anonymous
-
8 months ago
2023-01-31 20:03
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
-
8 months ago
2023-01-31 12:39
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
-
8 months ago
2023-01-30 13:50
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
-
8 months ago
2023-01-30 11:13
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
-
8 months ago
2023-01-27 19:38
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
-
8 months ago
2023-01-21 23:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get h1-6 tag
.NET (C#)
(.*?)
Submitted by
OlegBel
-
8 months ago
2023-01-17 14:18
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
-
8 months ago
2023-01-16 11:13
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
-
8 months ago
2023-01-15 22:21
1
2
3
4
5
6
7
...
466
Remplazar contenido
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
.NET (C#)
@"
""
content
""
:
""
[^
""
]
+
""
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
10 months ago
2022-11-10 11:39