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...
1
ticker but not EFS
PCRE2 (PHP >=7.3)
ticker but not EFS
Submitted by
anonymous
-
3 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
-
3 years ago
1
Strong Password
PCRE2 (PHP >=7.3)
Support JS and PHP
Submitted by
jodi@nusantarabetastudio.com
-
3 years ago
1
Minecraft Log Parser 1.0
ECMAScript (JavaScript)
Improvements needed
Submitted by
Crystal
-
3 years ago
1
SharePoint On-Premises Validator
ECMAScript (JavaScript)
SharePoint On-Premises Validator
Submitted by
anonymous
-
3 years ago
1
CSV quotation mark
PCRE2 (PHP >=7.3)
See quotes that are not delimiters
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
1
Numbers only (including decimals) ( JS work fine)
ECMAScript (JavaScript)
Rejects first symbol if 0 and all other non number (doesn't includes .123 )
Submitted by
Sofitt
-
3 years ago
(Last modified 3 years ago)
1
Worlde helper
PCRE2 (PHP >=7.3)
simple, just adjust that: contains letters "l z n" (probably can be simplified but I dont know how) exlude anywhere "rtuasgc" dictionary taken from wordle JS file
Submitted by
anonymous
-
3 years ago
1
Parse Data Fields
Python
Parsing example
Submitted by
anonymous
-
3 years ago
1
Anything sorounded by " "
ECMAScript (JavaScript)
Match anything inside double quote string and set the first capture group with the content
Submitted by
anonymous
-
3 years ago
1
Expresión regular para encontrar enlaces de video de Youtube y Vimeo
PCRE2 (PHP >=7.3)
Detecta los patrones similares a los enlaces de video de YouTube y Vimeo
Submitted by
anonymous
-
3 years ago
1
Expresión regular para validar enlaces de videos embebidos de YouTube y Vimeo
PCRE2 (PHP >=7.3)
Detecta los patrones para enlaces de videos embebidos de YouTube y Vimeo
Submitted by
anonymous
-
3 years ago
1
order by field and direction
PCRE2 (PHP >=7.3)
order by field and direction
Submitted by
anonymous
-
3 years ago
1
sha512 - letters and numbers, without special characters. length 512
PCRE2 (PHP >=7.3)
Just capital letters and numbers, without special characters. String length 512
Submitted by
Pooya Parsa Dadashi(@datamweb)
-
3 years ago
(Last modified 3 years ago)
1
just number and String length 30
PCRE2 (PHP >=7.3)
just number and String length 30
Submitted by
Pooya Parsa Dadashi(@datamweb)
-
3 years ago
(Last modified 3 years ago)
1
Rick Roll
Java 8
Matches chorus of Never Going to Give You Up
Submitted by
Stephen Battista
-
3 years ago
1
HTML body tokenize
PCRE2 (PHP >=7.3)
Tokenize before do other process. We can adapt to use for header tag.
Submitted by
Jakk
-
3 years ago
(Last modified 3 years ago)
1
Telegram Markdown Escaping Backslashed asterisks
ECMAScript (JavaScript)
Telegram Markdown V2's bold (`) can be escaped by using \`. RegExp to validate it and get the actual contents inside.
Submitted by
dcdunkan
-
3 years ago
1
Titanic Kaggle - Remove ticket prefix to get number
PCRE2 (PHP >=7.3)
Removes the prefix leaving just the ticket number
Submitted by
anonymous
-
3 years ago
1
ds100reg4
PCRE (PHP <7.3)
Data 100 Regular Expression 4, adapted from Princeton
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
1
...
267
268
269
270
271
...
900
Community Library Entry
1
Regular Expression
Python
r"
\b
(
[
01
]
?
[
0
-
9
]
|
2
[
0
-
3
]
)
:
(
[
0
-
5
]
[
0
-
9
]
)
(?:
:
(
[
0
-
9
]
[
0
-
9
]
)
)?
\b
"
gm
Open regex in editor
Description
Extract time from text
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)