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 11,520 community submitted regex patterns...
0
OmegaT
Java 8
regular expressions used in OmegaT
Submitted by
anonymous
-
a year ago
0
cuda with gpu-number regex
Python
Used for torch.device handling, so 'cuda' and 'cuda:0' both valid and can be used
Submitted by
Ilya Lubenets
-
a year ago
(Last modified 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
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
Content inside string
Python
Will match any character inside " or '
Submitted by
anonymous
-
a year ago
0
Password
Java 8
Password
Submitted by
Mohammed Elshaboury
-
a year ago
0
semantic tags
PCRE (PHP <7.3)
semantic tags
Submitted by
anonymous
-
a year ago
0
non capturing (a|b|c)가 그룹으로 지정되지 않게 함.
Python
\[[0-9]{4}-[0-9]{2}-[0-9]{2}\](\[(?:debug|warning|error)\]).*
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
WIP detector
Python
Detect WIP strings in a git commit.
Submitted by
anonymous
-
a year ago
0
match tree output
Python
replace tree-like intandents to any others like hashtags or spaces
Submitted by
anonymous
-
a year ago
0
2 parameters split by comma or arbitrary whitespace
Python
title
Submitted by
Sam Wagenaar
-
a year ago
0
Assembler Instruction
Python
Match double-argument assembler instructions, extracting opcode, operand_src, and operand_dst
Submitted by
Sam Wagenaar
-
a year 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
-
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
sentence with colon regex
Python
[\S\w]+\s?:\s?[\S▁]+
Submitted by
wb
-
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
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
match html reg
Python
match html reg
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
1
...
567
568
569
570
571
...
576
Get domain or filename from link
0
Regular Expression
PCRE (PHP <7.3)
/
(
https
?
:
\/\/
www
\.
|
https
?
:
\/\/
|
www
\.
)
(
[
-a
-
zA
-
Z0
-
9@:%._+~#=
]
{1,256}
\.
[
a
-
zA
-
Z0
-
9()
]
{1,6}
\/
(
(
[
-a
-
zA
-
Z0
-
9()@:;%_+.~#&
\/
=
]
*
)
\/
)*
(
[
-a
-
zA
-
Z0
-
9()@:;%_+.~#&=
]
+
)
|
(
[
-a
-
zA
-
Z0
-
9@:%._+~#=
]
{1,256}
\.
[
a
-
zA
-
Z0
-
9()
]
{1,6}
)
\/
?
)
(
[
-a
-
zA
-
Z0
-
9()@:;%_+.~#?&
\/
=
]
*
)?
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago