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 3,800 community submitted regex patterns...
1
password regex (strict)
ECMAScript (JavaScript)
Synopsis The subject password must fullfill several criterias to ensure it's have an acceptable level of minimal security. Success criterias contains at least 1 number (0-9) contains at least 1 uppercase letters...
Submitted by
Soma Szelpal
-
5 days ago
(Last modified 5 days ago)
1
Simple EIN (Employee Identification Number) format
ECMAScript (JavaScript)
An Employer Identification Number (EIN) is also known as a Federal Tax Identification Number, and is used to identify a business entity. Generally, businesses need an EIN. It expects 2 digits at start, then a dash ('-') and then 7 digits. No assumptions regarding the allowed prefixes, etc.
Submitted by
@uazure
-
8 days ago
1
Number Expr
ECMAScript (JavaScript)
A "raw" expression matching numbers; anything from a simple 123 to -123,456.78e90 will be matched. Note: this may be vulnerable to ReDoS attacks when long multiline entries are available & a few hundered (or thousand depending on the length of the input) steps is a problem; check the Regex Debugger...
Submitted by
expo.moe
-
12 days ago
(Last modified 12 days ago)
1
CSI Breakdown V5
ECMAScript (JavaScript)
Breaks out CSI numbers for proper reformat
Submitted by
anonymous
-
22 days ago
1
CRAC Question Bank
ECMAScript (JavaScript)
中国无线电协会业余无线电分会业余无线电操作证书 txt 题库格式化
Submitted by
HoshinoSuzumi<master@uniiem.com>
-
a month ago
(Last modified a month ago)
1
Email Format Check
ECMAScript (JavaScript)
This regex can check if the email format is valid. Feels free to use it
Submitted by
AkashiDom
-
a month ago
1
PGP-encrypted message (v2)
ECMAScript (JavaScript)
A javascript regex for a pgp-encrypted message, including optional armor, headers, and checksum. Feel free to make improvements if you think I'm missing something from the spec: https://www.rfc-editor.org/rfc/rfc4880#section-6.2
Submitted by
anonymous
-
a month ago
1
PGP-encrypted message
ECMAScript (JavaScript)
A Javascript regex for a PGP-encrypted message, including optional armor, valid headers, and checksum.
Submitted by
Adroit
-
a month ago
1
2430workshop10
ECMAScript (JavaScript)
2430workshop10
Submitted by
anonymous
-
a month ago
1
Parse Address - Prefecture
Java 8
get prefecture from Japanese address
Submitted by
Gary Ascuy
-
a month ago
1
AWS EventBridge Scheduling Expressions
Java 8
This validates AWS EventBridge scheduling expressions using the rate() and cron() formats. It may not catch all invalid expressions, but it should properly validate all valid expressions, as demonstrated in the unit tests. Please let me know if I missed any valid expressions. Originally attempted ...
Submitted by
Evan S Kaufman <evan@evanskaufman.com>
-
a month ago
(Last modified a month ago)
1
JS/ECMAScript - Comprehensive Telephone Number Parser - US Domestic and Overseas - with NAMED Match Data
ECMAScript (JavaScript)
Explanation Breaks out a phone number input into the following named segments: Opt? Matches Name Desc Y (+ - . :space:) LEADING_PUNCT Leading Punctuation Y 1-3 Digits (0-9) COUNTRY_CODE International country code (US: '1') Y (- . :space:) OPT_...
Submitted by
@JJ/ZenAtWork NerdyDeeds, LLC
-
a month ago
1
O group
ECMAScript (JavaScript)
Oracle Software Owner for Each Oracle Software Product You can create a single user (for example, oracle) to own both Oracle Database, and Oracle Restart installations. However, Oracle recommends that you create one software owner to own each Oracle software installation (typically, oracle, for the ...
Submitted by
anonymous
-
a month ago
1
Smax micro focus Web ports regex
ECMAScript (JavaScript)
Smax micro focus Web ports regex
Submitted by
Resul MUŞLU
-
a month ago
1
RM
ECMAScript (JavaScript)
Smax Micro Focus Regex
Submitted by
Resul MUŞLU
-
a month ago
(Last modified a month ago)
1
IPv4 address with optional CIDR suffix
ECMAScript (JavaScript)
Matches any valid IPv4 address with, optionally, a CIDR suffix. 0.0.0.0 to 255.255.255.255 and 1.1.1.1/0 to 1.1.1.1/32. Use the following regex if you don't want to allow the CIDR suffix. /^(?:(?:[1-9]?[0-9]|10-9|2(?:0-4|5[0-5]))\.){3}(?:[1-9]?[0-9]|10-9|2(?:0-4|5[0-5]))$/...
Submitted by
MAZ01001
-
2 months ago
1
IANA Media Type
Java 8
Parses an IANA Media Type value. Doesn't seem to capture repeating parameters, which is a bit of an edge case but valid I think - any suggestions on how to fix would be appreciated.
Submitted by
scottbdr
-
2 months ago
1
URL
ECMAScript (JavaScript)
Match a URL and capture its parts. Please suggest your improvements.
Submitted by
Lamer217
-
2 months ago
1
JavaScript number literals
ECMAScript (JavaScript)
Should match any valid JavaScript number literal. Allow _ as a numerical separator, leading/trailing dot and 0, and test for prefix 0b (binary), 0o (octal), and 0x (hexadecimal). See the second paragraph of EDIT 4 in this StackOverflow answer by me for matching JS numbers.
Submitted by
MAZ01001
-
2 months ago
(Last modified 2 months ago)
1
Excel CSV Parser
ECMAScript (JavaScript)
I'm dealing quite a lot w this. This CSV Parser is used for Js (particularly for my current project wrting script for After Effects through ExtendScript)
Submitted by
binguine
-
2 months ago
1
2
3
...
190
nxtgn title grabber
1
Regular Expression
ECMAScript (JavaScript)
/
(
.
+
?
)
[
\.
\s
]
(?:
(?:
(
\d
{4}
)
[
\.
\s
]
)
(
S
\d
{1,2}
(?:
E
\d
{1,2}
)?
)
|
(?:
(
\d
{4}
)
[
\.
\s
]
)
|
(
S
\d
{1,2}
(?:
E
\d
{1,2}
(?:
\-
E
?
\d
{1,2}
)?
)?
)
|
(?:
720p
|
1080p
)
)
[
\.
\s
]
?
(
.
*
)
[
\.
\s
]
/
gi
Open regex in editor
Description
no description available
Submitted by
anonymous
-
8 years ago