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 9,340 community submitted regex patterns...
0
Parse getopt options from a Bash script
PCRE (PHP <7.3)
This will parse the parameters/arguments that a Bash script when it uses getopt(s). Groups: name,short,long,while Example cases: ...
Submitted by
Spyingwind
-
a year ago
0
MBI Regex
PCRE (PHP <7.3)
validates against the MBI format published by CDC
Submitted by
i410hlr
-
a year ago
0
Parse arguments
PCRE (PHP <7.3)
Parse arguments
Submitted by
Ofir Yariv
-
a year ago
2
Phone number for all countries
.NET 7.0 (C#)
Phone number for all countries. Valid symbols: ( ), -, whitespace
Submitted by
Alexander Smirnov
-
a year ago
0
15.02.2022 15:00:00
.NET 7.0 (C#)
15.02.2022 15:00:00
Submitted by
anonymous
-
a year ago
0
Minimum 10 herhangi dijit
.NET 7.0 (C#)
Minimum 10 herhangi dijit
Submitted by
anonymous
-
a year ago
0
USD
.NET 7.0 (C#)
USD
Submitted by
anonymous
-
a year ago
0
01 Jan 2022 Mon 01:02:03
.NET 7.0 (C#)
01 Jan 2022 Mon 01:02:03
Submitted by
anonymous
-
a year ago
0
^[A-Z,a-z,\-, ,\&]+$
.NET 7.0 (C#)
Koray Bilgi, Text-Regex
Submitted by
anonymous
-
a year ago
-1
MMM DDD YYYY
.NET 7.0 (C#)
FEB MON 2023
Submitted by
anonymous
-
a year ago
0
User-Agent
PCRE (PHP <7.3)
Parser
Submitted by
sn3kdev
-
a year ago
0
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
-
a year ago
0
Parcing2
PCRE (PHP <7.3)
aa
Submitted by
anonymous
-
a year ago
0
trim phone number
PCRE (PHP <7.3)
trim phone number
Submitted by
anonymous
-
a year ago
0
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
-
a year ago
0
Search Trailing Commas
PCRE (PHP <7.3)
Regex used for finding trailing commas. Use for troubleshooting PHP 7.2 Codes
Submitted by
anonymous
-
a year ago
0
Match IPv4 Valid
.NET 7.0 (C#)
expression to capture valid IP
Submitted by
anonymous
-
a year ago
0
NMEA after timestamps
PCRE (PHP <7.3)
Picks up (most?) NMEA messages.
Submitted by
David Harrison
-
a year ago
0
Get h1-6 tag
.NET 7.0 (C#)
(.*?)
Submitted by
OlegBel
-
a year ago
0
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
1
...
3
4
5
6
7
...
467
Date with this format YYYY-MM-DD and year start 20 or 21
-4
Regular Expression
PCRE (PHP <7.3)
/
^
(
20
|
21
)
[
0
-
9
]
{2}
-
(
0
[
1
-
9
]
|
1
[
0
-
2
]
)
-
(
0
[
1
-
9
]
|
[
1
-
2
]
[
0
-
9
]
|
3
[
0
-
1
]
)
$
/
date php
Open regex in editor
Description
Date with this format YYYY-MM-DD and year start 20 or 21 like 2014
Submitted by
cisc0
-
10 years ago