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 12,840 community submitted regex patterns...
0
ECMAScript - Variable Identifier
ECMAScript (JavaScript)
Any valid ECMAScript identifier name
Submitted by
disk0
-
3 years ago
0
Single Letter, No Numbers + Letter Exclusions
PCRE (PHP <7.3)
Allow users to only enter a single letter, no numbers, and determine which characters they are not allowed to enter (both uppercase and lowercase).
Submitted by
anonymous
-
3 years ago
0
提取特殊字符中间内容
ECMAScript (JavaScript)
用于提取特殊字符中间内容
Submitted by
lqzo
-
3 years ago
0
Parsed PGN
ECMAScript (JavaScript)
In my use case, I had to parse PGN this way for my book opening apps. Transformed result later { 1: { black: 'c6'...
Submitted by
Muhammad Surga Savero
-
3 years ago
0
add interfaces to ef models
PCRE (PHP <7.3)
Use this to add interfaces to ef models using vs replace all with regex
Submitted by
anonymous
-
3 years ago
0
OmegaT exercise: separators in figures (en -> es)
Java 8
Replace thousand and decimal separators
Submitted by
anonymous
-
3 years ago
0
OmegaT exercises
Java 8
OmegaT exercises
Submitted by
msoutopico
-
3 years ago
0
Links in HTML
PCRE (PHP <7.3)
Example href="https://example.com"
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
discord gift
ECMAScript (JavaScript)
detects links from discord.com/gifts discord.gift/
Submitted by
padero
-
3 years ago
0
Regex to replace path in apache rewrite
Java 8
This regex convert following text: /research/the-123s-of-school-choice/ INTO: /research-library/?report=the-123s-of-school-choice
Submitted by
Suman Maharjan
-
3 years ago
(Last modified 3 years ago)
0
Email Regex
Java 8
Regex to capture email from Text
Submitted by
Suman Maharjan
-
3 years ago
0
Number Parsing w/ Scientific Support
ECMAScript (JavaScript)
Capture a number out of a string. Supports positive/negative, decimal, and Scientific Notation
Submitted by
Brombomb
-
3 years ago
0
Hora formato am/pm hh:mm am/pm
PCRE (PHP <7.3)
Valida el formato de hora hh:mm am/pm
Submitted by
Felipe silva
-
3 years ago
0
Regex to capture AlphaNumeric String of 7 or 11 length(Must contain at least one Alphabet and Must contain at least one Numeric)
Java 8
Regex to capture AlphaNumeric String Length should be 7 or 11 Must contain at least one Alphabet Must contain at least one Numeric
Submitted by
Suman Maharjan
-
3 years ago
0
my regex
Java 8
test
Submitted by
anonymous
-
3 years ago
0
test
ECMAScript (JavaScript)
f
Submitted by
anonymous
-
3 years ago
0
email validation
ECMAScript (JavaScript)
check valid email
Submitted by
anonymous
-
3 years ago
0
vue component import suffix replace
ECMAScript (JavaScript)
为了使用vite,替换必须有后缀
Submitted by
anonymous
-
3 years ago
0
US Telephone Number validation
ECMAScript (JavaScript)
regex code for US telephone number validation for freecodecamp exercise
Submitted by
Erik @raxsonic
-
3 years ago
0
MBI Format
Java 8
Medicare Beneficiary Identifier (MBI) Format https://www.cms.gov/medicare/new-medicare-card/understanding-the-mbi-with-format.pdf
Submitted by
Chee Cheng
-
3 years ago
(Last modified 3 years ago)
1
...
595
596
597
598
599
...
642
Address Check Validation
11
Regular Expression
PCRE (PHP <7.3)
/
[
0
-
9
]
+
\s
*
(
[
a
-
zA
-
Z
]
+
\s
*
[
a
-
zA
-
Z
]
+
\s
)*
[
0
-
9
]
*
/
Open regex in editor
Description
Check for true or false street address format
Submitted by
Dilip Borad
-
10 years ago