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 420 community submitted regex patterns...
0
ACM Code Extraction
Java 8
title
Submitted by
anonymous
-
2 years ago
0
subnet cidr check
Java 8
subnet cidr check example 192.168.1.0/30
Submitted by
Di
-
2 years ago
0
Detect [YOTI] in string.xml
Java 8
we can use this regex?
Submitted by
anonymous
-
2 years ago
0
Address
Golang
Address check
Submitted by
anonymous
-
2 years ago
0
adi1
Java 8
https://internetinthecar-e2e\.((sfr|a1|swisscom|proximus|elisa|tango|telenor-no|telenor-se|yousee|plus|telia|bite-lv|bite-lt|a1-)\.)?iot\.vodafone\.com/sso/authorize/callback|https://internetinthecar-e2e-new\.iot\.vodafone\.com/sso/authorize/callback
Submitted by
anonymous
-
2 years ago
0
character followed by number
Golang
ehehe
Submitted by
arahsafari
-
2 years ago
0
Friendzymes: dna-annotate github action example
Golang
Example input-pattern for the Friendzymes GitHub Action dna-annotate.
Submitted by
Friendzymes Team
-
2 years ago
0
Changelog commit template
Golang
Changelog commit template
Submitted by
anonymous
-
2 years ago
1
11
Java 8
11
Submitted by
11
-
3 years ago
1
Match Windows filename in any path but only C: D: and F: drives
Java 8
Used for Service Discovery in vRealize Operations. Use case is a service that can be installed on any path, but we only want to discover and monitor services installed on standard production drives (C, D or F). Filename will always be the same.
Submitted by
Various
-
3 years ago
0
Email Validation Pattern
Java 8
Email Validation Pattern
Submitted by
Aslam Anver
-
3 years ago
1
SQL comments Big Query
Golang
SQL comments on Big Query
Submitted by
anonymous
-
3 years ago
0
Smartling custom placeholders and liquid strategy
Java 8
Suggested Smartling custom placeholder regex to support liquid syntax as documented for Braze. Because default value cannot be extracted easily recommend rewrting the liquite to avoid using default filters.
Submitted by
Eric Negron
-
3 years ago
0
Add string after matching 1st occurence, every line
Golang
Regex adding a string (here vs_) after 1st matching occurence (of reflectance_\d_).
Submitted by
Nikos Alexandris
-
3 years ago
0
Yuque
Java 8
Yuque
Submitted by
anonymous
-
3 years ago
1
yyyy/mm/dd
Golang
^(((\d{3}[1-9]|\d{2}[1-9]\d|\d[1-9]\d{2}|[1-9]\d{3})(\/)(((0[13578]|1[02])(\/)(0[1-9]|[12]\d|3[01]))|((0[469]|11)(\/)(0[1-9]|[12]\d|30))|(02(\/)(0[1-9]|[1]\d|2[0-8]))))|(((\d{2})(0[48]|2468|13579)|((0[48]|2468|3579)00))(\/)02(\/)29))$ Match year/month/day format. e.g: 2020/02/29 [match] 2021/02/29 ...
Submitted by
mayl0421
-
3 years ago
1
yyyy/mm/dd
Java 8
^(((\d{3}[1-9]|\d{2}[1-9]\d|\d[1-9]\d{2}|[1-9]\d{3})(\/)(((0[13578]|1[02])(\/)(0[1-9]|[12]\d|3[01]))|((0[469]|11)(\/)(0[1-9]|[12]\d|30))|(02(\/)(0[1-9]|[1]\d|2[0-8]))))|(((\d{2})(0[48]|2468|13579)|((0[48]|2468|3579)00))(\/)02(\/)29))$ Match year/month/day, date format. E.g: 2021/08/25 [match] 2021/...
Submitted by
mayl0421
-
3 years ago
0
123
Java 8
123
Submitted by
anonymous
-
3 years ago
0
移除非法字符
Java 8
冲鸭!
Submitted by
anonymous
-
3 years ago
1
lsblk-output-regex
Golang
Trying to adapt this regex to support LVM.
Submitted by
anonymous
-
3 years ago
1
...
10
11
12
13
14
...
21
Detecting CJK Chars in Golang!
0
Regular Expression
Golang
`
[
\x{3040}-\x{30ff}\x{3400}-\x{4dbf}\x{4e00}-\x{9fff}\x{f900}-\x{faff}\x{ff66}-\x{ff9f}\x{3040}-\x{30ff}\x{3400}-\x{4dbf}\x{4e00}-\x{9fff}\x{f900}-\x{faff}\x{ff66}-\x{ff9f}\x{3131}-\x{D79D}
]
`
gm
Open regex in editor
Description
Detecting CJK Chars in Golang!
Submitted by
anonymous
-
3 years ago