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 520 community submitted regex patterns...
0
C-style block comment with "*/" escape
Golang
Match /* ... / with escape of quotation marks, e.g. / "*/" */. No look ahead needed.
Submitted by
Guyutongxue
-
2 years ago
0
Split words in brackets
Golang
Split words in brackets
Submitted by
ugurakcil
-
2 years ago
1
Matching build file names
Java 8
Matches various versions of build file filenames from our jenkins builds
Submitted by
Sean Furrh
-
2 years ago
0
cisco cat3650cx & cat1000 'show power inline'
Golang
Matching show power inline output on cat1000 & cat3560cx
Submitted by
me
-
2 years ago
1
匹配中英文括号
Java 8
可以用来替换企业名称中的中英文括号 eg: 阿里巴巴(中国)股份 阿里巴巴(中国)股份
Submitted by
tuan_luo
-
2 years ago
0
ISO 3166-1 alpha-3
Java 8
ISO 3166-1 alpha-3 countries for validation
Submitted by
anonymous
-
2 years ago
0
if else parser part 1
Java 8
A basic if else parser. It automatically captures the if equation and the result. It supports if, elif, and else statements. Note: for elif statements part 2 is required. This is because Regex can't use one group to capture multiple elif statements. Part 2 can be found here
Submitted by
Rubeste
-
2 years ago
0
if else parser part 2
Java 8
This is part 2 of my if else parser. Part 2 is only needed for elif statements. Note: From the elif result from part 1 add a #end to close the statement. I might change it a bit in the future so this isn't needed. ...
Submitted by
Rubeste
-
2 years ago
1
Android Package Validation - Java Regex
Java 8
Note: replace the "\." with "\\." if you paste this on your java. The regex will match if the package name is valid. example: my.new.hello.world.app Supports: a-z 0-9 and underscore Supports multiple dots
Submitted by
dlv_dls2
-
2 years ago
0
Replacing URL through Hyperlink in Text
Golang
Replacing URL through Hyperlink in Text
Submitted by
anonymous
-
2 years ago
3
Extract URL parts only named capturing groups
Golang
Extract URL parts only named capturing groups
Submitted by
dixanms
-
2 years ago
1
Rick Roll
Java 8
Matches chorus of Never Going to Give You Up
Submitted by
Stephen Battista
-
2 years ago
0
Remove duplicate lines in sorted text
Java 8
See
Submitted by
@atnbueno
-
2 years ago
0
chia plot
Golang
chia plot
Submitted by
temple
-
2 years ago
0
Hitech RTOZONE
Java 8
Checks the registration number's validity
Submitted by
Sid
-
2 years ago
0
java-test1
Java 8
java test string
Submitted by
anonymous
-
2 years ago
0
Match CLI argument to
Java 8
Matches argumetn to as: -t to -t= ...
Submitted by
rperez-torro
-
2 years ago
0
Unreal Engine (UE_LOG) Parser - GoLang version
Golang
This regex is suitable for anyone ingesting UE_LOG files into Loki and creating dashboards in Grafana.
Submitted by
Mike McShaffry
-
2 years ago
1
IPv4 + TCP-Port
Java 8
This regex matches a IPv4 with a TCP Port (1-65535) Example: 192.168.0.69:1337 will match and have the groups: Group 1: 192.168.0.69 Group 2: 1337
Submitted by
SIMULATAN
-
2 years ago
0
Mpe
Java 8
coda test
Submitted by
anonymous
-
2 years ago
1
...
13
14
15
16
17
...
26
Kt SDK V2
0
Regular Expression
Golang
`
(?s)
\.
getModification
\(
\s
*
[
"'
]
(
[
\w
\-
]
+
)
[
'"
]
\s
*
,
\s
*
(
[
"'
]
[^
"
]
*
[
'"
]
|
[
+-
]
?
(?:
\d
*
[
.
]
)?
\d
+
|
true
|
false
|
False
|
True
)
(?:
\s
*
,
\s
*
(?:
true
|
false
|
\d
+
|
"
[^
"
]
*
"
)
)?
\s
*
\)
`
gm
Open regex in editor
Description
kt SDKV2
Submitted by
anonymous
-
a year ago
(Last modified a year ago)