Regular Expressions 101

Community Patterns

1

http(s) address

PCRE2 (PHP >=7.3)
simple http(s) patter
Submitted by lhotakj - a day ago
1

my

PCRE2 (PHP >=7.3)
replace first line and second
Submitted by MH - 2 days ago
1

Parser

PCRE2 (PHP >=7.3)
for mail
Submitted by anonymous - 4 days ago
1

GrEedy

Python
greedy or no greedy_**
Submitted by daen3r1s - 5 days ago

Match all filenames in any URL including those with ANSI escaped characters (dotNET version)

0

Regular Expression
.NET (C#)

@"
(?<=https?:\/\/\S*(?:[=\/]|%2F))(?:(?!%2F)[^?&\s\/])+\.\w+(?=[?&]|$)
"
gm

Description

Loading markdown...
Submitted by The Fourth Bird - a year ago
(Last modified a year ago)