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 6,160 community submitted regex patterns...
0
after the </h2> Any new paragraph should start with a <p>
PCRE2 (PHP >=7.3)
In case #2: after the Any new paragraph should start with a
Submitted by
anonymous
-
2 years ago
0
the end of file paragraph should have a closing </p>
PCRE2 (PHP >=7.3)
the end of file paragraph should have a closing should be used after regex2 to remove at the end
Submitted by
anonymous
-
2 years ago
0
clean up old line breaks replacing with a closed paragraph </p>and <p>
PCRE2 (PHP >=7.3)
I want to clean up old line breaks replacing with a closed paragraph and an open paragraph . So, , or , or becomes
Submitted by
anonymous
-
2 years ago
0
subdomainfinder.c99.nl to seeds
PCRE2 (PHP >=7.3)
parse results from https://subdomainfinder.c99.nl/ to https-seeds.
Submitted by
anonymous
-
2 years ago
1
Parse Kubernetes Resource URI Paths
Golang
This regex extracts Kubernetes Resource URIs. Copyright 2021 Mathew Wicks Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License....
Submitted by
Mathew Wicks
-
2 years ago
0
ACM Code Extraction
Java 8
title
Submitted by
anonymous
-
2 years ago
0
Regex to add <p> in the beginning
PCRE2 (PHP >=7.3)
In case #3: A should be prepended to the beginning of the first paragraph.
Submitted by
anonymous
-
2 years ago
0
Regex to add <p> in the beginning
PCRE2 (PHP >=7.3)
In case #3: A should be prepended to the beginning of the first paragraph.
Submitted by
anonymous
-
2 years ago
0
First letter of each word
ECMAScript (JavaScript)
Lowercase whole line to make it work
Submitted by
PolyFlower
-
2 years ago
0
Ip check, shortest
PCRE2 (PHP >=7.3)
Ip check, shortest validate ip
Submitted by
Di
-
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
DiscoveryPlus regex
PCRE2 (PHP >=7.3)
.
Submitted by
anonymous
-
2 years ago
0
ID-in-C
PCRE2 (PHP >=7.3)
Identifiers in C
Submitted by
anonymous
-
2 years ago
0
Phone Number Match only + and digits
ECMAScript (JavaScript)
not match : 123-456-7890 (123) 456-7890 123 456 7890 123.456.7890...
Submitted by
Azhi
-
2 years ago
1
Splunk log regex
PCRE2 (PHP >=7.3)
regex to parse space separated log message from splunk test string ugi=flink ip=172.18.214.55 cmd=source:172.18.214.55 alter_table: hive.net_seed.netdebugnetworkconnectionstatereadysnapshotcapturedevent newtbl=netdebugnetworkconnectionstatereadysnapshotcapturedevent ugi=root ip=172.19.212.146 cmd=s...
Submitted by
Steve Zhang
-
2 years ago
0
匹配区号码、手机号码【简版】phoe|mobile
PCRE2 (PHP >=7.3)
匹配区号码、手机号码【简版】
Submitted by
1.0
-
2 years ago
0
Detect [YOTI] in string.xml
Java 8
we can use this regex?
Submitted by
anonymous
-
2 years ago
0
Les_crises
PCRE2 (PHP >=7.3)
Articles revue "Les crises". Clean comments
Submitted by
anonymous
-
2 years ago
0
Address
Golang
Address check
Submitted by
anonymous
-
2 years ago
0
match instance exclude quotes
PCRE2 (PHP >=7.3)
匹配除引号外的特殊字符 example: "数据A+数据B"+数据C-数据D+"数据C-数据E" `
Submitted by
anonymous
-
2 years ago
1
...
127
128
129
130
131
...
308
Name (First, Last) or (Last, First)
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^\s
*
[
a
-
zA
-
Z
]
+
(
[
\-
\s
'
]
?
[
a
-
zA
-
Z
]
+
)*
\s
*
,
\s
*
[
a
-
zA
-
Z
\s
]
+
(
[
\-
\s
'
]
?
[
a
-
zA
-
Z
]
+
)*
\s
*
$
/
gm
Open regex in editor
Description
Useful for checking comma separated full names
Submitted by
Bryan Luu
-
3 years ago