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,000 community submitted regex patterns...
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
-
3 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
-
3 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
-
3 years ago
0
ACM Code Extraction
Java 8
title
Submitted by
anonymous
-
3 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
-
3 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
-
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
1
...
184
185
186
187
188
...
900
Community Library Entry
1
Regular Expression
Python
r"
<
.
*
?
>
|
&
.
*
?
;
|
\\
n
|
\\
xa0
"
gm
Open regex in editor
Description
Remove HTML tags and comments
Submitted by
Smit Patel
-
3 years ago