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
Test log
PCRE (PHP <7.3)
Test
Submitted by
anonymous
-
9 years ago
1
832821
Python
no description available
Submitted by
anonymous
-
9 years ago
1
testing regex to indicate punctuation
Python
no description available
Submitted by
ed
-
9 years ago
1
Match URL segment
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
100 to 0 with up to 2 digits after the decimal
PCRE (PHP <7.3)
no description available
Submitted by
Joe Wilson
-
9 years ago
1
832821(1)
Python
no description available
Submitted by
anonymous
-
9 years ago
1
Iframe src catcher
PCRE (PHP <7.3)
In an html file, locate all sources for the iframes tags
Submitted by
anonymous
-
9 years ago
1
Число любое
PCRE (PHP <7.3)
no description available
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
Strip Commet
ECMAScript (JavaScript)
Strip comments with /* ... */ or // ...
Submitted by
Willy
-
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
test
Python
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
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
mob
PCRE (PHP <7.3)
Custom trigger: 「TTS」「Sランク, $1」 Regular Expression: Added new combatant (クロック・ミテーヌ|ケロゲロス|ガーロック|ボナコン|ナンディ|チェルノボーグ|レドロネット|ウルガル|マインドフレア|サウザンドキャスト・セダ|ゾーナ・シーカー|ブロンテス|バルウール|ヌニュヌウィ|ミニョーカオン|サファト|アグリッパ)
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
Prescription line
PCRE (PHP <7.3)
Line of text in a medical presciption
Submitted by
Jermaine McFarlane
-
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
JSFiddle embeded link
ECMAScript (JavaScript)
A regex to match any permutation of JS Fiddles embed URL.
Submitted by
Valtrius
-
9 years ago
1
Read df -h command output
PCRE (PHP <7.3)
Parses df -h
Submitted by
Aaron Peterson
-
9 years ago
1
...
646
647
648
649
650
...
900
Community Library Entry
40
Regular Expression
PCRE (PHP <7.3)
/
(
(
(
[
A
-
Za
-
z
]
{3,9}
:
(?:
\/\/
)?
)
(?:
[
-;:&=
\+\$
,
\w
]
+
@
)?
[
A
-
Za
-
z0
-
9.-
]
+
|
(?:
www
.
|
[
-;:&=
\+\$
,
\w
]
+
@
)
[
A
-
Za
-
z0
-
9.-
]
+
)
(
(?:
\/
[
\+
~%
\/
.
\w
-_
]
*
)?
\?
?
(?:
[
-
\+
=&;%@.
\w
_
]
*
)
#
?
(?:
[
.
\!\/\\
w
]
*
)
)?
)
/
ig
Open regex in editor
Description
A quite neat regular expression for URLs, e-mails..., I found on Matthew O'Riordan's blog.
Submitted by
Matthew O'Riordan
-
12 years ago