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
lsblk output parser
PCRE (PHP <7.3)
Parses lsblk output
Submitted by
Aaron Peterson
-
9 years ago
1
Read df -h command output
PCRE (PHP <7.3)
Parses df -h
Submitted by
Aaron Peterson
-
9 years ago
1
JSFiddle embeded link
ECMAScript (JavaScript)
A regex to match any permutation of JS Fiddles embed URL.
Submitted by
Valtrius
-
9 years ago
1
Presciption line 2.0
PCRE (PHP <7.3)
Recognizes a line of text in a medical prescription. Change log: 2.0 - Recognizes medication names composed of two or more words
Submitted by
Jermaine McFarlane
-
9 years ago
1
Prescription line
PCRE (PHP <7.3)
Line of text in a medical presciption
Submitted by
Jermaine McFarlane
-
9 years ago
-1
parsing splunk tacacs with regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
campo configurador por 9 e ponto ou apenas vazio
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
mob
PCRE (PHP <7.3)
Custom trigger: 「TTS」「Sランク, $1」 Regular Expression: Added new combatant (クロック・ミテーヌ|ケロゲロス|ガーロック|ボナコン|ナンディ|チェルノボーグ|レドロネット|ウルガル|マインドフレア|サウザンドキャスト・セダ|ゾーナ・シーカー|ブロンテス|バルウール|ヌニュヌウィ|ミニョーカオン|サファト|アグリッパ)
Submitted by
anonymous
-
9 years ago
1
Match Markdown Text Paragraph at a Root Level
ECMAScript (JavaScript)
http://stackoverflow.com/q/34914559/368691
Submitted by
Gajus Kuizinas
-
9 years ago
1
Extract Text Between Specific Pipe Delimited Columns
ECMAScript (JavaScript)
This RegExp extract text between pipe delimited columns specified by the field index you wish to extract. Exmaple: |test1|test2|test3|test4| (?:(+)\|){1} extracts "text1" (?:(+)\|){2} extracts "text2"...
Submitted by
Samuel Davison
-
9 years ago
1
simple url regex (http,https)
ECMAScript (JavaScript)
To recognize url like (for the more complex one): https://word.office.live.com/wv/WordView.aspx?FBsrc=https%3A%2F%2Fwww.facebook.com%2Fattachments%2Ffile_preview.php%3Fid%3D713987203%26time%3D145332%26metadata&access_token=1606%3AAVKzw1&title=2016+Test+Document+Word+Online.doc
Submitted by
Pika
-
9 years ago
0
grok
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
regex for R Mailing list
PCRE (PHP <7.3)
no description available
Submitted by
Michael Tan
-
9 years ago
1
test
Python
no description available
Submitted by
anonymous
-
9 years ago
2
Strong password
ECMAScript (JavaScript)
Password require: lowercase, uppercase, symbol, not consecutive same letter/number, and not some specific words
Submitted by
@cadete_kdt
-
9 years ago
1
Replace react createElement with factories for simple dom elements
PCRE (PHP <7.3)
This assumes you are doing import { DOM as R } from 'react'.
Submitted by
Kye Hohenberger
-
9 years ago
1
Strip Commet
ECMAScript (JavaScript)
Strip comments with /* ... */ or // ...
Submitted by
Willy
-
9 years ago
2
Parse string like: "[!type|name] http://some.url/to.file"
ECMAScript (JavaScript)
http://some.url/to.file [!css|name]http://some.url/to.file [!css] http://some.url/to.file ...
Submitted by
Max Chuhryaev
-
9 years ago
1
File extention
ECMAScript (JavaScript)
Extract file extention from URL
Submitted by
anonymous
-
9 years ago
1
find function without visibillity
PCRE (PHP <7.3)
no description available
Submitted by
rene reimann rene@die-pixler.de
-
9 years ago
1
...
746
747
748
749
750
...
900
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
\/\/
[
a
-
z
]
+
\.
(?:
[
a
-
z
]
+
\:
?
[
0
-
9
]
+
?
|
[
a
-
z0
-
9
]
+
\.
[
a
-
z
]
+
)
\/
\b
assets
\b
\/
\b
read
\b
\/
(
(
\w
)+
\.
png
)
/
g
Open regex in editor
Description
no description available
Submitted by
Michael Degli-Angeli
-
8 years ago