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
phone nomber simple validation
ECMAScript (JavaScript)
format 12345678 123456789 1234567890
Submitted by
anonymous
-
3 years ago
0
Network Interface matching with sub-interface support
Python
This regular expression will match on interface names and return grouped data including name, location, sub-interface.
Submitted by
Neis
-
3 years ago
1
Password stronger
PCRE2 (PHP >=7.3)
This regex will validate your password To be stronger, the password must be contain: At least 8 characters At least 1 number...
Submitted by
Rafael Paciência
-
3 years ago
0
Keep Number and .,
PCRE (PHP <7.3)
Keep Number and .,
Submitted by
HUUTAI
-
3 years ago
0
Numeric
PCRE2 (PHP >=7.3)
test for numeric values with digit and thousand separators (, and ,) and also negative sign (-)
Submitted by
anonymous
-
3 years ago
0
Regex101 => C# Regex
PCRE2 (PHP >=7.3)
This expression simply converts the regular expression here into a string formated to be put into a programming language like Java or C#.
Submitted by
anonymous
-
3 years ago
0
Get date from string
PCRE2 (PHP >=7.3)
Get date from string
Submitted by
anonymous
-
3 years ago
-3
Working With Data regex sample text
PCRE2 (PHP >=7.3)
This is a sample text for use at my "Working With Data" workshop session on regular expressions.
Submitted by
anonymous
-
3 years ago
0
Целые числа
PCRE2 (PHP >=7.3)
Для тестов
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
runs on /p/
PCRE2 (PHP >=7.3)
runs on /p/
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Nomor Telepon Indonesia
PCRE2 (PHP >=7.3)
Regex untuk nomor HP & PSTN Indonesia
Submitted by
@totoprayogo1916
-
3 years ago
0
match URL slug
PCRE2 (PHP >=7.3)
as per this question https://stackoverflow.com/questions/19256323/regex-to-match-a-slug
Submitted by
aurovrata
-
3 years ago
(Last modified 3 years ago)
0
Clean HTML
Python
Remove HTML comments, tags, links, character codes, \xa0
Submitted by
Smit Patel
-
3 years ago
1
Remove HTML tags and comments
Python
Remove HTML tags and comments
Submitted by
Smit Patel
-
3 years ago
0
Working on cron regex
Python
Working on usable cron regex, for python.
Submitted by
anonymous
-
3 years ago
0
IBM MQ Log Parser
PCRE2 (PHP >=7.3)
Breaks the IBM MQ Log into records.
Submitted by
James Phillips
-
3 years ago
0
character followed by number
Golang
ehehe
Submitted by
arahsafari
-
3 years ago
0
MongoDB Connection String
ECMAScript (JavaScript)
A regEx to validate a mongoDb connection string like the following: mongodb+srv://user:pass@subdomain.domain.com:27107/fDb/?replicaSet=myRepl&ssl=true
Submitted by
F2BEAR
-
3 years ago
(Last modified 3 years ago)
0
Latex Quotes
PCRE2 (PHP >=7.3)
Convert "text" to ``text''
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Regex for Nigerian Phone number
PCRE2 (PHP >=7.3)
Regex to validate a Nigerian phone number
Submitted by
Kelechi Apugo
-
3 years ago
1
...
186
187
188
189
190
...
901
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
<footer><!
\[
CDATA
\[
)
\s
?
(
<p>
)?
(
.
*
)
(
<p>
)
/
gmU
Open regex in editor
Description
In case #3: A <p> should be prepended to the beginning of the first paragraph.
Submitted by
anonymous
-
3 years ago