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
Community Patterns
Search among 9,740 community submitted regex patterns...
0
Link Matcher v1
Java 8
The link matcher regex currently matches the most common types of links. *Removed other links
Submitted by
IkeVoodoo
-
a year ago
(Last modified a year ago)
0
decamelize
PCRE (PHP <7.3)
pascal case to snake case
Submitted by
anonymous
-
a year ago
0
Golang Get variables In Js
Golang
To get
Submitted by
anonymous
-
a year ago
0
RE2 match of APRS-IS header information
Golang
This re2 (using Go in my case) matches the APRS-IS header. The format of the APRS-IS packet is TNC2 standard: SOURCE>DESTINATION,PATH:PACKET ...
Submitted by
Jack Hamm (jack@wv6l.net)
-
a year ago
0
https://rextester.com/JFUKE76014
.NET 7.0 (C#)
0x9d9b6f05d7b72588f83cc60fda4286ba45d13924 Nonce 6324 Rash 0xa964e1ee4c92c25f47392f67b735095304631089b5f2173825b7e93f49f08d57 Bloco 3391586 Commit fb5aa46...
Submitted by
0x9d9b6f05d7b72588f83cc60fda4286ba45d13924
-
a year ago
0
DSA
Java 8
dsa
Submitted by
DSA
-
a year ago
0
nick anme
.NET 7.0 (C#)
mvp
Submitted by
doppler
-
a year ago
(Last modified a year ago)
0
Match gradle dependencies
Java 8
.
Submitted by
anonymous
-
a year ago
0
Extracting subtitle entries
PCRE (PHP <7.3)
Extract subtitle entries out of SRT files.
Submitted by
anonymous
-
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
0
Get h1-6 tag
.NET 7.0 (C#)
(.*?)
Submitted by
OlegBel
-
a year ago
0
NMEA after timestamps
PCRE (PHP <7.3)
Picks up (most?) NMEA messages.
Submitted by
David Harrison
-
a year ago
0
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
-
a year ago
0
Match IPv4 Valid
.NET 7.0 (C#)
expression to capture valid IP
Submitted by
anonymous
-
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 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
log timestamp
Golang
extract time stamp from log entry
Submitted by
anonymous
-
a year ago
0
carbon
Java 8
test1
Submitted by
anonymous
-
a year ago
0
Business Address | WI | Trademark | USA
Java 8
s
Submitted by
anonymous
-
a year ago
0
trim phone number
PCRE (PHP <7.3)
trim phone number
Submitted by
anonymous
-
a year ago
1
...
480
481
482
483
484
...
487
Credit Card Validation - MasterCard, Visa, Amex, Discover
4
Regular Expression
PCRE (PHP <7.3)
/
(
^
5
[
1
-
5
]
|
^
4
|
^
3
[
47
]
)
|
(
^
6011
|
65
|
64
[
4
-
9
]
|
622
(
1
(
2
[
6
-
9
]
|
[
3
-
9
]
\d
)
|
[
2
-
8
]
\d
{2}
|
9
(
[
01
]
\d
|
2
[
0
-
5
]
)
)
)
\d
+
/
g
Open regex in editor
Description
MasterCard - ^5[1-5]\d+ Visa - ^4\d+ Amex - ^3[47]\d+ Discover - 6011|65|64...
Submitted by
Eric Foster
-
8 years ago