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 9,440 community submitted regex patterns...
-1
alluse
PCRE (PHP <7.3)
/^(?P0|[1-9]\d)\.(?P0|[1-9]\d)\.(?P0|[1-9]\d)(?:-(?P(?:0|[1-9]\d|\da-zA-Z-)(?:\.(?:0|[1-9]\d|\da-zA-Z-))))?(?:\+(?P[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/gm
Submitted by
alluse
-
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
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
-
a year ago
(Last modified a year ago)
0
Function arguments regex
PCRE (PHP <7.3)
A simple regex to match individual arguments of a function.
Submitted by
anonymous
-
a year ago
0
elasticsearch exception explain regex
Java 8
throw elasticsearch exception logger info, find exception type and reason field
Submitted by
jason
-
a year ago
0
semantic tags
PCRE (PHP <7.3)
semantic tags
Submitted by
anonymous
-
a year ago
0
Password
Java 8
Password
Submitted by
Mohammed Elshaboury
-
a year ago
0
Isolate some string (any caracthers) in between isolators, none or many
PCRE (PHP <7.3)
This expression isolates a string or many strings of any caracthers that are preceded and are followed by a pair of colons in a long text string. Practical for tooltip insertion. Find a word in the string, search in the database, construct the tooltip and insert within the returned string. Use wi...
Submitted by
Marc De Gagné
-
a year ago
0
Regex Colon Code For Emoji
PCRE (PHP <7.3)
Groups the ID, and finds the whole colon code
Submitted by
ZackiBoiz
-
a year ago
(Last modified a year ago)
0
OmegaT
Java 8
regular expressions used in OmegaT
Submitted by
anonymous
-
a year ago
1
URL Validator (HTTP and HTTPS)
PCRE (PHP <7.3)
Validate one URL HTTP and HTTPS
Submitted by
Joaquim
-
a year ago
0
Mysite
PCRE (PHP <7.3)
Hello
Submitted by
anonymous
-
a year ago
0
Parse getopt options from a Bash script
PCRE (PHP <7.3)
This will parse the parameters/arguments that a Bash script when it uses getopt(s). Groups: name,short,long,while Example cases: ...
Submitted by
Spyingwind
-
a year ago
0
MBI Regex
PCRE (PHP <7.3)
validates against the MBI format published by CDC
Submitted by
i410hlr
-
a year ago
0
Parse arguments
PCRE (PHP <7.3)
Parse arguments
Submitted by
Ofir Yariv
-
a year ago
0
HTML Image Regex
Java 8
This code will find image files with .gif and .jpg extensions which are present in a HTML or CSS code. Here I am using the prefix '/asmproxy/' to identify the resource and then checking if extension ends with a .gif or .jpg. This Regex has its limitations as we are using prefix.
Submitted by
Suman Mummaneni
-
a year ago
0
User-Agent
PCRE (PHP <7.3)
Parser
Submitted by
sn3kdev
-
a year ago
0
Extract any http https and any url form
PCRE (PHP <7.3)
This will help you to extract any URL inside your text
Submitted by
Abdullah Alweheid
-
a year ago
0
Parcing2
PCRE (PHP <7.3)
aa
Submitted by
anonymous
-
a year ago
0
trim phone number
PCRE (PHP <7.3)
trim phone number
Submitted by
anonymous
-
a year ago
1
...
3
4
5
6
7
...
472
FullName_regex
0
Regular Expression
Java 8
"
^
(
[
A
-
zÀ
-
ÿ
]
{2,}
(
[
.-
]
)?
)+
(
?
(
(
[
A
-
zÀ
-
ÿ
]
){2,}
(
[
.-
]
)?
)
)*
(
(
[
A
-
zÀ
-
ÿ
]
){2,}
(
[
.-
]
)?
)+
$
"
gm
Open regex in editor
Description
2135
Submitted by
anonymous
-
2 years ago