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 2,440 community submitted regex patterns...
1
Extract Variables from C# File
Python
no description available
Submitted by
Adam Short
-
9 years ago
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
-
9 years ago
1
German nouns
Python
Matches German nouns with "artikels"
Submitted by
Alper Kürşat @alpeer
-
9 years ago
1
$_=$ARGV[0];s/(\w\W?)(\W?\w)/\u$1$2/g;print
Python
no description available
Submitted by
anonymous
-
9 years ago
1
poker stars header
Python
no description available
Submitted by
anonymous
-
9 years ago
1
Extron SMP351 info string
Python
Get the 7 values coming from the device (telnet port 23) after sending the get info (b'I\r') command.
Submitted by
FT
-
9 years ago
1
BASE Amplicon filename parsing
Python
BASE Amplicon parsing
Submitted by
sthysel
-
9 years ago
1
uuu
Python
uuu
Submitted by
uuu
-
9 years ago
1
Match all files in root dir
Python
Intended for use on a webserver. Only matches files in / and excludes files, whcih could be in subfolders (/myfile).
Submitted by
rugk (rugk <at> posteo.de)
-
9 years ago
1
matching foramt ,xxx:
Python
for dictionary
Submitted by
anonymous
-
9 years ago
1
Find line and insert under it
Python
Finds a line and appends the replacement below it. Tries to preserve indentation (tabs or spaces) and to avoid duplicate replacements. I used it in Sublime Text to batch edit several instances of a JS config object across several files.
Submitted by
anonymous
-
9 years ago
1
Match things between quotes in Bluecoat log file
Python
Mostly for matching things that match bluecoat category.
Submitted by
Thomas
-
9 years ago
1
Python
Python
no description available
Submitted by
anonymous
-
9 years ago
1
stepic python extract domain
Python
no description available
Submitted by
anonymous
-
9 years ago
1
delete function comment from begining
Python
delete function comment from begining
Submitted by
wewe
-
9 years ago
1
Original regex
Python
no description available
Submitted by
Malhar
-
9 years ago
1
Luca
Python
Esempi di regex
Submitted by
prof.manini
-
9 years ago
1
Lua Anonymous Function Matching
Python
no description available
Submitted by
anonymous
-
9 years ago
1
All but my string
Python
Return all but the given string
Submitted by
elypma
-
9 years ago
1
Query Strings Capture
Python
A solution for capture params or the param=value pair of query strings.
Submitted by
Rafael Laurindo
-
9 years ago
1
...
16
17
18
19
20
...
122
Community Library Entry
0
Regular Expression
.NET 7.0 (C#)
@"
^
(?=
(?<http>
(?:
https
?
:
\/\/
){1}
(?:
www
\.
)?
)?
)
(?
(?=
\k<http>
?
(?<ipaddr>
(?:
\d
{1,3}
\.
){3}
\d
{1,3}
(?:
\:
\d
{1,5}
)?
)
)
\k<http>
?
\k<ipaddr>
(?:
\.
[
\w
]
{1,9}
)?
|
\k<http>
(?:
[
\w
]
\.
?
){1,255}
\.
[
\w
]
{1,9}
)
(?:
\/
.
*
)?
$
"
gm
Open regex in editor
Description
Can be used to validate on URL's.
Submitted by
anonymous
-
2 years ago