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
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 2,300 community submitted regex patterns...
1
Odd [abc] non-consecutive repeat
Python
Recognizes strings containing {a,b,c} an odd number of times that do not repeat the same letter twice in a row. Also recognizes null string.
Submitted by
anonymous
-
8 years ago
8
extract subdomain(if available) or domain from URL
Python
This regex should extract the subdomain, if any, or the domain, if no subdomain is used, from an arbitrary URL
Submitted by
trevi@twanda.com
-
8 years ago
1
Extract Variables from C# File
Python
no description available
Submitted by
Adam Short
-
8 years ago
0
phone number
Python
no description available
Submitted by
Dries Werckx
-
8 years ago
1
Replace Czech accents, Part 1
Python
The result of this put as input into part 2.
Submitted by
Premysl Karbula
-
8 years ago
1
nombres y apellidos
Python
expresión para python.
Submitted by
davila vargas
-
8 years ago
-3
IPv4 address
Python
Matches any IPv4 address
Submitted by
anonymous
-
8 years ago
2
match those lines whose first n chars contains 1+ non numeric
Python
1100582367|SDFDSFDSFDSFDSFDF GBC213WREW|RWEFSDFSDF 1100582377|DSFDSFDSFDSF 2NDG.S.D BIKADSFDSFDSFNO.421 1100582387|SDFSDFSDFDSF
Submitted by
sid
-
8 years ago
5
Bible reference extractor
Python
For scraping http://skepticsannotatedbible.com/
Submitted by
antaytheist-owner
-
8 years ago
5
Find and extract email domain
Python
Find and extract email domain. Ex: test@example.pt -> extract 'example.pt'
Submitted by
Fnxk
-
8 years ago
1
date validation (yyyy-mm-dd)
Python
no description available
Submitted by
anonymous
-
8 years ago
1
rocola
Python
for #regex
Submitted by
ElGatoSaez
-
8 years ago
1
HiveQL query/comment splitter
Python
Splits a HiveQL line into query and comment sections.
Submitted by
anonymous
-
8 years ago
0
Find a quoted unix style path in text block
Python
Find a quoted unix style path in text block, breaking the text block into constituent parts, 1 before the quoted path starts 2 the path 3 the filename 4 whats left
Submitted by
AndyGif
-
8 years ago
1
Div Matching Test
Python
Div Matching Test
Submitted by
anonymous
-
8 years ago
1
reg example
Python
no description available
Submitted by
horangs
-
8 years ago
1
commit 2
Python
no description available
Submitted by
anonymous
-
8 years ago
1
commit 1
Python
no description available
Submitted by
anonymous
-
8 years ago
1
Liens internes
Python
Liens internes commençant par : rien / http, https, www et contenant le nom de domaine
Submitted by
anonymous
-
8 years ago
5
psswd
Python
no description available
Submitted by
anonymous
-
8 years ago
1
...
93
94
95
96
97
...
115
Twitter #hashtags
-1
Regular Expression
Python
r"
(
\A
|
\s
)
#
(
\w
+
)
"
g
Open regex in editor
Description
Using the twitter API, take a tweet object and find & link #tags to embed in HTML
Submitted by
@triplec1988
-
11 years ago