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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 2,420 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
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
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
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
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
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
简单日志匹配
Java 8
普通日志匹配, 匹配出字段: [time, level, logClass, content]
Submitted by
qinxike
-
a year ago
1
...
113
114
115
116
117
...
121
简单日志匹配
0
Regular Expression
Java 8
"
(
\d
+
[
-|/
]
\d
+
[
-|/
]
\d
+
\s\S
+
)
\s
+
(
\w
+
)
\s
+
(
[^
:
]
+
)
:
\s
+
(
.
+
)*
"
gm
Open regex in editor
Description
普通日志匹配, 匹配出字段: [time, level, logClass, content]
Submitted by
qinxike
-
a year ago