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
Most upvotes
Most downvotes
Highest Score
Lowest Score
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 18,020 community submitted regex patterns...
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
-
3 years ago
0
First letter of each word
ECMAScript (JavaScript)
Lowercase whole line to make it work
Submitted by
PolyFlower
-
3 years ago
0
Ip check, shortest
PCRE2 (PHP >=7.3)
Ip check, shortest validate ip
Submitted by
Di
-
3 years ago
0
subnet cidr check
Java 8
subnet cidr check example 192.168.1.0/30
Submitted by
Di
-
3 years ago
0
DiscoveryPlus regex
PCRE2 (PHP >=7.3)
.
Submitted by
anonymous
-
3 years ago
0
ID-in-C
PCRE2 (PHP >=7.3)
Identifiers in C
Submitted by
anonymous
-
3 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
-
3 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
-
3 years ago
0
identify html headers
PCRE (PHP <7.3)
Able to identify many header html tags in the text and group eachone.
Submitted by
Adão Dias
-
3 years ago
0
Remove html symbols
Python
Select every string starting with & , ending with ; and everything in between
Submitted by
Smit Patel
-
3 years ago
0
not_next_text
PCRE (PHP <7.3)
not_text
Submitted by
anonymous
-
3 years ago
0
t1
PCRE (PHP <7.3)
t1
Submitted by
anonymous
-
3 years ago
0
zero trailing
PCRE (PHP <7.3)
it match when zero is second characters of the string and so on
Submitted by
Azhi
-
3 years ago
0
匹配区号码、手机号码【简版】phoe|mobile
PCRE2 (PHP >=7.3)
匹配区号码、手机号码【简版】
Submitted by
1.0
-
3 years ago
0
Detect [YOTI] in string.xml
Java 8
we can use this regex?
Submitted by
anonymous
-
3 years ago
0
Les_crises
PCRE2 (PHP >=7.3)
Articles revue "Les crises". Clean comments
Submitted by
anonymous
-
3 years ago
0
Address
Golang
Address check
Submitted by
anonymous
-
3 years ago
0
match instance exclude quotes
PCRE2 (PHP >=7.3)
匹配除引号外的特殊字符 example: "数据A+数据B"+数据C-数据D+"数据C-数据E" `
Submitted by
anonymous
-
3 years ago
0
Change computed vue props to getters
PCRE2 (PHP >=7.3)
Change computed vue props to getters
Submitted by
anonymous
-
3 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
-
3 years ago
1
...
185
186
187
188
189
...
901
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
^
(?:
http
(
s
)?
:
\/\/
)?
(?:
[
\w
]
+
\.
)?
linkedin
\.
com
\/
(?:
pub
|
in
|
profile
)?
(?:
\/
*
)
(
[
\w
\-\.
]
*
)
/
gm
Open regex in editor
Description
Select just the username from urls
Submitted by
chocksy
-
8 years ago