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...
1
Detectar links, menciones y hashtags
PCRE (PHP <7.3)
Patrón para detectar links, menciones de usuarios y hashtags dentro de una cadena de texto.
Submitted by
Francisco Guevara
-
9 years ago
1
Parsing a host from a URL
ECMAScript (JavaScript)
no description available
Submitted by
Alex LaFroscia
-
9 years ago
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
0
splunk config stanza regex
PCRE (PHP <7.3)
Pull stanzas from splunk .conf files
Submitted by
keith muggleton
-
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
...
171
172
173
174
175
...
901
Community Library Entry
0
Regular Expression
Python
r"
^
(?:
(?P<protocol>
.
+
)
://
)?
(?:
(?P<sub>
.
+
)
\.
)?
(?P<domain>
.
+
)
\.
(?P<tld>
[
a
-
zA
-
Z
]
+
)
(?P<path>
/
(?:
(?:
.
*
?
)
(?:
(?=
\?
)
?
)
)?
)?
(?P<query>
\?
.
+
?
)?
$
"
m
Open regex in editor
Description
pain
Submitted by
anonymous
-
3 years ago