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 15,020 community submitted regex patterns...
0
Name RegEx
Python
Separate first and last names. Capitalization matters. Ignore middle initials but allow middle names. Multiple last names may be mistaken for middle names. Groups could be changed to capture middle names separately, middle initials, etc.
Submitted by
anonymous
-
a year ago
0
Get ip address (only ipv6) Validator
.NET 7.0 (C#)
Get ip address (only ipv6) Validator
Submitted by
Mr.Tang
-
a year ago
(Last modified a year ago)
0
match html reg
Python
match html reg
Submitted by
anonymous
-
a year ago
0
Get ip address (only ipv4) Validator
.NET 7.0 (C#)
Get ip address (only ipv4) Validator
Submitted by
Mr.Tang
-
a year ago
(Last modified a year ago)
0
date range
ECMAScript (JavaScript)
.
Submitted by
anonymous
-
a year ago
0
match name and surname in a name.surname@domain.com email.
Java 8
This will match any words that show up before the @ sign in an email. Digits, dots, commasz and other special characters are ignored.
Submitted by
WojciechW
-
a year ago
0
Function call capture group
Python
Function call capture group
Submitted by
anonymous
-
a year ago
0
Get anything between parentheses
PCRE (PHP <7.3)
Use to get any character, digit or space between parentheses
Submitted by
Vini Pereira
-
a year ago
0
简单日志匹配
Java 8
普通日志匹配, 匹配出字段: [time, level, logClass, content]
Submitted by
qinxike
-
a year ago
0
Valid date (DD-MM-YYYY) from 1900 to 2099
Java 8
Valid date (DD-MM-YYYY) from 1900 to 2099
Submitted by
Nevix-Sama
-
a year ago
0
idk
ECMAScript (JavaScript)
one
Submitted by
anonymous
-
a year ago
0
Match for equ
ECMAScript (JavaScript)
Matching for equation
Submitted by
anonymous
-
a year ago
0
vishnu
Python
log regex
Submitted by
vishnu kendre
-
a year ago
0
Photos18 Url Matcher
Python
A regex to match photos18 urls
Submitted by
anonymous
-
a year ago
0
commitlint gitmoji
ECMAScript (JavaScript)
commitlint to cz-emoji-conventional
Submitted by
anonymous
-
a year ago
0
Match IPv4 with CIDR mask
Python
Parses data to match IPv4 addresses along with CIDR mask.
Submitted by
anonymous
-
a year ago
0
NIT Colombia
ECMAScript (JavaScript)
Número de Identificación Tributaria para Colombia 🇨🇴.
Submitted by
anonymous
-
a year ago
0
在特定位置替换字符
Python
1
Submitted by
anonymous
-
a year ago
0
LinkedIn reaction URL
ECMAScript (JavaScript)
A regular expression pattern to match for LinkedIn reactions (create, delete or update reaction)
Submitted by
celyes
-
a year ago
0
ClassB private IP address range
ECMAScript (JavaScript)
https://www.ibm.com/docs/en/networkmanager/4.2.0?topic=translation-private-address-ranges
Submitted by
artdiniz
-
a year ago
1
...
739
740
741
742
743
...
751
ECMAScript/JavaScript trim
106
Regular Expression
ECMAScript (JavaScript)
/
^
[
\s
]
*
(
.
*
?
)
[
\s
]
*
$
/
Open regex in editor
Description
Trim leading and trailing whitespace from a string.
Submitted by
fp
-
11 years ago
(Last modified 6 days ago)