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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 17,620 community submitted regex patterns...
1
withagen SKU
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Find the second word
PCRE (PHP <7.3)
Find the second word in a string. EX string: "First Second Third" The output will be: Second
Submitted by
oxido
-
8 years ago
1
C# Generic Parameters
ECMAScript (JavaScript)
no description available
Submitted by
andy cunningham
-
8 years ago
1
catches text within paranthesis
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Get Email Address from string
ECMAScript (JavaScript)
no description available
Submitted by
Google
-
8 years ago
1
https://
PCRE (PHP <7.3)
no description available
Submitted by
VM
-
8 years ago
1
PHP URL Regex
PCRE (PHP <7.3)
no description available
Submitted by
Max Maxymenko
-
8 years ago
2
extension libre office
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
FDQN
ECMAScript (JavaScript)
no description available
Submitted by
Pratheesh ps
-
8 years ago
2
problem for homework
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
URL Parse
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Chep/Loscam ID Validator
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Chep/Loscam Transfers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
replace divs
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
perl {if condition} {else} {/if}
PCRE (PHP <7.3)
no description available
Submitted by
Z
-
8 years ago
0
US Telephone number
ECMAScript (JavaScript)
Regex for validating us telephone number as per freecodecamp testcases-
Submitted by
Yashdeep Hinge
-
8 years ago
1
lua
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
aaa
PCRE (PHP <7.3)
aaa
Submitted by
aa
-
8 years ago
1
gps 103
ECMAScript (JavaScript)
gps103 gprs communication
Submitted by
anonymous
-
8 years ago
2
extract hostname
PCRE (PHP <7.3)
extracts hostname from url
Submitted by
Kristine Poghosyan
-
8 years ago
1
...
714
715
716
717
718
...
881
github user/repo regex
1
Regular Expression
Python
r"
^
\#
\s
*
#
must
start
with
"#"
to
indicate
beeing
a
repo.
(?:
@
?
@
?
(?!
-
)
(?P<user>
(?:
[
a
-
zA
-
Z0
-
9
]
|
-
(?!
-
)
)+
[
a
-
zA
-
Z0
-
9
]
)
(?!
[^
\x00-\x7F
]
)
)?
#
Username
part
(?:
(?<=
\#
)
|
[
/
\s
\.
]
(?<!
\v
)
)
(?P<repo>
[
a
-
zA
-
Z0
-
9_.-
]
+
)
$
"
gmix
Open regex in editor
Description
parses user/repo
Submitted by
luckydonald
-
8 years ago