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
Most upvotes
Most downvotes
Highest Score
Lowest Score
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 12,780 community submitted regex patterns...
1
test
ECMAScript (JavaScript)
testing
Submitted by
madgregory
-
8 days ago
1
Factorization: Zero, Unit, Primes, or Composite?
.NET 7.0 (C#)
Description Inspects lines that contain only a character, let's say c, repeated n times. The name of the matching groups will tell you if n is 0, the unit 1, a prime number, or a composite number. Alternative ...
Submitted by
kevinhp
-
11 days ago
1
Credit Cart Prediction & Validation
ECMAScript (JavaScript)
Credit Card Carrier Prediction This regex is specifically designed to predict from the first few characters which carrier type the credit card number is.
Submitted by
anonymous
-
a month ago
(Last modified 25 days ago)
1
Search for markup elements with an attribute
ECMAScript (JavaScript)
In this example we are searching for all element/component in JSX that have the is="secondary" prop. This regex was tested with VS Code
Submitted by
anonymous
-
a month ago
1
short IPV4 Capture
ECMAScript (JavaScript)
(?(?:(?:25[0-5]|(?:2[0-4]|1\d|[1-9]|)\d)\.?\b){4}) Originating from ^((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)\.?\b){4}$ at only 43 chars Source: Danail Gabenski
Submitted by
0xp
-
a month ago
1
Teste RISOLUTO button com span ícone
ECMAScript (JavaScript)
Teste
Submitted by
risoluto
-
a month ago
1
Class name validator
ECMAScript (JavaScript)
Validate if class name pass this criteria: A valid name should start with a letter (a-z)[A-Z] , an underscore (_), or a hyphen (-) which is followed by any numbers, hyphens, underscores, letters. A name should be at least two characters long. Cannot start with a digit, two hyphens or a hyphen fo...
Submitted by
Agustín Bouillet
-
2 months ago
1
Bitbucket URL Parser
ECMAScript (JavaScript)
A regular expression for extracting the author, repository name, and optional branch from a Bitbucket repository or tree URL. Handles both HTTP(S) and direct Bitbucket links.
Submitted by
Xain
-
2 months ago
1
GitLab URL Parser
ECMAScript (JavaScript)
A regular expression for extracting the author, repository name, and optional branch from a GitLab repository or tree URL. Handles both HTTP(S) and direct GitLab links.
Submitted by
Xain
-
2 months ago
(Last modified 2 months ago)
2
GitHub URL Parser
ECMAScript (JavaScript)
A regular expression for extracting the author, repository name, and optional branch from a GitHub repository or tree URL. Handles both HTTP(S) and direct GitHub links.
Submitted by
Xain
-
2 months ago
1
Discord - Command Name
ECMAScript (JavaScript)
Verification of Application Command names for Discord's API. Useful for Discord applications. Source : discord.dev
Submitted by
volcanofr
-
2 months ago
1
Word Pattern
ECMAScript (JavaScript)
Word Patterns - multilanguage Separating words that handle many use cases I needed, more than simple /\bword\b/gi. Below are some targeted test cases and acceptable failed cases: ...
Submitted by
Bryan Ho
-
2 months ago
1
url_validation_url_doğrulama
ECMAScript (JavaScript)
^ - This signifies the start of the expression. https?:// - This matches either "http://" or "https://". (www.)? - This makes the "www." subdomain optional. [A-z0-9]+ - This matches one or more alphanumeric characters for the domain name. . - This matches a literal period character. [A-z0-9]+ - This...
Submitted by
Emre Yıldırım
-
2 months ago
1
Timestamp Regex
ECMAScript (JavaScript)
matches a timestamp that is in the format of Aug 14, 2024, 10:12 AM or month shortcode followed by day, year, time in 12 hours
Submitted by
astro
-
2 months ago
1
german date era with tolerance: n. Chr. or v. Chr. / n. Ztr of v. Ztr
ECMAScript (JavaScript)
Maches german era notations in date "v. Chr" and "v. Ztr" It is meant to be tolerant : periods and spaces are optional, and it is case insensitive
Submitted by
Olivier CHEVET
-
2 months ago
1
E-mail pattern for html input.
ECMAScript (JavaScript)
Simply e-mail pattern for html tag.
Submitted by
KsaR99
-
2 months ago
1
Simple but powerful email
ECMAScript (JavaScript)
"/" - start of regular expression "^" - anchor to beginning of string Group: [a-z0-9]+ "[a-z0-9]" - Latin character or digit "+" - occurring ONE or more times...
Submitted by
Diableros [https://github.com/Diableros]
-
3 months ago
(Last modified 2 months ago)
2
Command line parser
.NET 7.0 (C#)
Supports parameters such as keys and values, also parameters enclosed in quotes.
Submitted by
Pavel Bashkardin
-
3 months ago
(Last modified 3 months ago)
1
ObjAction(\s+\=|\=)(\s+\[|\[).*?\;
ECMAScript (JavaScript)
asdad
Submitted by
anonymous
-
3 months ago
(Last modified 2 months ago)
3
**japanese text** to bold <b>japanese text</b>
PCRE (PHP <7.3)
japanese text to bold japanese text 食べるんだ 食べるんだ
Submitted by
kurokuroshii
-
3 months ago
(Last modified 3 months ago)
1
2
3
...
639
Community Library Entry
1
Regular Expression
.NET 7.0 (C#)
@"
.
*
сума:
\s
+
(?<suma>
\d
{1,5}
[
.,
]
\d
{1,2}
)
.
*
\\
n
(?<issuerName>
.
*
)
(?<pan>
[
0
-
9X
]
{16}
)
.
*
нал:
\s
(?<terminalId>
[
A
-
Z0
-
9
]
{8}
)
.
*
авторизації:
\s
(?<approvalCode>
\d
{1,10}
)
.
*
чек
\s
N:
\s
(?<chq>
\d
{1,10}
)
.
*
rrn:
\s
(?<rrn>
\d
{1,15}
)
"
mi
Open regex in editor
Description
PrivtBank Receipt Parser
Submitted by
anonymous
-
7 months ago
(Last modified 7 months ago)