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...
3
POST OFFICE BOX
PCRE (PHP <7.3)
no description available
Submitted by
jmweekes
-
9 years ago
3
Camel case to space-separated string
PCRE (PHP <7.3)
Takes any camel case and returns it plus spaces.
Submitted by
Rougeware
-
9 years ago
3
BOOLEAN EXPRESSION WITH BRACKETS MATCHER
PCRE (PHP <7.3)
comapre simbols used just !=, ==, =, beacose of task keyword "not" can be used only before leftside value beacose of task
Submitted by
Ilya Filisteev
-
9 years ago
3
ln -l linux parse
PCRE (PHP <7.3)
parse linux ln -l output command
Submitted by
guignol95
-
9 years ago
3
yyyy-MM-dd hh:MM
ECMAScript (JavaScript)
date format for "yyyy-MM-dd hh:MM" valid strict model.
Submitted by
image72
-
9 years ago
3
MySQL Full-Text BOOLEAN mode
PCRE (PHP <7.3)
Checks if an input string is compatible with the BOOLEAN mode of MySQL full text search system
Submitted by
greezybacon
-
9 years ago
3
Get bad iframe (with white-list)
PCRE (PHP <7.3)
In (?!www.youtube.com\/|youtube.com\/|player.vimeo.com\/) u can add good sites for iframes: www.youtube.com/ player.vimeo.com/
Submitted by
Resager
-
9 years ago
3
coffeescript operator
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
3
Extract Java Exception Message Field
PCRE (PHP <7.3)
Exception Message: java.lang.NullPointerException: Sample Java Logback Exception at Sample.errorLevel3(Sample.java:35) at Sample.errorLevel2(Sample.java:31) at Sample.errorLevel1(Sample.java:27)...
Submitted by
Amit
-
9 years ago
3
Match text in square brackets
PCRE (PHP <7.3)
Drupal7 Media Element in node body - A regex to match the media module square bracketted token/element for embedde images in node body. Use case - using the body text trimmed in a meta description - need to remove the media element as well as strip tags.
Submitted by
iAugur
-
9 years ago
3
Get Headings From Markdown Format
ECMAScript (JavaScript)
Get all headings in a Markdown Format Text
Submitted by
Ferdinand Dimas
-
9 years ago
3
Get Hyperlinks From Markdown Format
PCRE (PHP <7.3)
Get all hyperlinks in a Markdown Format Text
Submitted by
Ferdinand Dimas
-
9 years ago
3
Récupérer la bonne information
PCRE (PHP <7.3)
Groupe d'information $1 $2 $3 $1 = Prénom + Nom $2 = (Information à récupérer ou à supprimer) $3 = Numéro de téléphone
Submitted by
Terence DEMOL
-
9 years ago
3
Removes duplicate lines in text editor
PCRE (PHP <7.3)
"dot matches newline" must be activated. Search and replace by "" (empty string) removes duplicate lines anywhere in text. Example for Notepad++ use shown under http://stackoverflow.com/questions/3958350/removing-duplicate-rows-in-notepad
Submitted by
Stackoverflow user stema
-
9 years ago
3
Remove br tags inside anchor tags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
3
Non vowel words
ECMAScript (JavaScript)
/\b(+)\b/ig
Submitted by
regexe
-
9 years ago
3
TV Series filename parsing
PCRE (PHP <7.3)
Get TV Series name, season and episode numbers.
Submitted by
anonymous
-
9 years ago
3
iframe src parser
Python
Get iframe src
Submitted by
Sumeet Fefar
-
9 years ago
3
TTML time expression offset-time
PCRE (PHP <7.3)
no description available
Submitted by
ovvland
-
9 years ago
3
Remove _1 suffix from image filenames
PCRE (PHP <7.3)
Remove autogenerated file name suffixes from images whilst preserving the extension (e.g. .jpg) These suffixes are usually added when filename already exists in the directory an image is being saved to by an application. Magento is a fine example of a system that does this.
Submitted by
John Hughes
-
9 years ago
1
...
887
888
889
890
891
...
900
Community Library Entry
3
Regular Expression
PCRE (PHP <7.3)
/
(
(
^
|
[^
A
-
Z
]
+
)
(
(
P
[
.
]
*
O
[
.
]
*
(
B
((
O
?
X
)|
IN
)?)?
)
|
(
P
(
OST
(
AL
)?)?
[
.
]
*
((
OFF
(
ICE
)?)|
(
B
((
O
?
X
)|
IN
)))
)
)
[^
A
-
Z
]
)
/
Open regex in editor
Description
no description available
Submitted by
jmweekes
-
9 years ago