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 18,000 community submitted regex patterns...
0
service selector parser
ECMAScript (JavaScript)
HV Platform
Submitted by
anonymous
-
2 years ago
0
CPF
ECMAScript (JavaScript)
Regex para encontrar um CPF no formato: 999.999.999-99
Submitted by
@rafaelteruyuki
-
2 years ago
(Last modified 2 years ago)
0
CEP
ECMAScript (JavaScript)
Match Brazilian zipcode pattern (CEP): 99999-999
Submitted by
@rafaelteruyuki
-
2 years ago
(Last modified 2 years ago)
0
Telefone fixo com DDD
ECMAScript (JavaScript)
Matches the pattern (99) 999-999
Submitted by
@rafaelteruyuki
-
2 years ago
(Last modified 2 years ago)
0
Data por extenso
ECMAScript (JavaScript)
Data por extenso
Submitted by
@rafaelteruyuki
-
2 years ago
(Last modified 2 years ago)
0
2 parameters split by comma or arbitrary whitespace
Python
title
Submitted by
Sam Wagenaar
-
2 years ago
0
Assembler Instruction
Python
Match double-argument assembler instructions, extracting opcode, operand_src, and operand_dst
Submitted by
Sam Wagenaar
-
2 years ago
0
Function Call
PCRE2 (PHP >=7.3)
Identify the functional call in a stack trace
Submitted by
anonymous
-
2 years ago
0
IPv6 address validation
PCRE2 (PHP >=7.3)
address validation from the first two segments of an IPv6 address
Submitted by
@unblog
-
2 years ago
0
IPv4 address validation
PCRE2 (PHP >=7.3)
validation of IPv4 addresses
Submitted by
@unblog
-
2 years ago
0
Spring Boot default log parser regex
Python
Parses default spring boot logs and capture the following groups: i. ISO Timestamp, ii. Log Level, iii. Process ID (PID), iv. Thread name, v. Logger name, and vi. Log message
Submitted by
Snehangshu Bhattacharya
-
2 years ago
0
regex for gsub (combine value)
PCRE2 (PHP >=7.3)
xx
Submitted by
anonymous
-
2 years ago
0
Email teste
ECMAScript (JavaScript)
Email teste
Submitted by
@rafaelteruyuki
-
2 years ago
0
Grupos
PCRE2 (PHP >=7.3)
grupos
Submitted by
anonymous
-
2 years ago
0
Function arguments regex
PCRE (PHP <7.3)
A simple regex to match individual arguments of a function.
Submitted by
anonymous
-
2 years ago
0
parse named values
PCRE2 (PHP >=7.3)
ok
Submitted by
anonymous
-
2 years ago
0
sentence with colon regex
Python
[\S\w]+\s?:\s?[\S▁]+
Submitted by
wb
-
2 years ago
0
Strict URL Validation - 2
PCRE2 (PHP >=7.3)
https://regex101.com/ https://www.cloudways.com/blog/prevent-laravel-xss-exploits/ https://cloudways.com
Submitted by
Adwin
-
2 years ago
0
CPF Number Repetition
Java 8
It matches CPF (Cadastro de Pessoa Física) with all digits as the same number. Since CPF consists in a pattern ###.###.###-##, or ###########, and # being a single digit, this document cannot have all the 11 (eleven) digits as the same number. Therefore 000.000.000.000-00 would not be an example o...
Submitted by
TheRockSaysOP
-
2 years ago
(Last modified 2 years ago)
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
-
2 years ago
1
...
873
874
875
876
877
...
900
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
http
(
s
?
)
:
\/\/
)?
(
(
(
www
\.
)?
+
[
a
-
zA
-
Z0
-
9
\.\-\_
]
+
(
\.
[
a
-
zA
-
Z
]
{2,3}
)+
)
(
:
[
0
-
9
]
{1,5}
)?
|
(
\b
(?:
(?:
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
\.
){3}
(?:
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
\b
)
)
(
:
[
0
-
9
]
{1,5}
)?
(
\/
[
a
-
zA
-
Z0
-
9
\_\-
\s
\.\/\?\%\#\&\=
]
*
)?
$
/
Open regex in editor
Description
Used to Validate a callback or link
Submitted by
tim
-
2 years ago