Regular Expressions 101

Community Patterns

1

html <Title>

Java 8
htnle
Submitted by erichologist - a month ago
1

jerry_eth_match

PCRE2 (PHP >=7.3)
jerry_eth_match
Submitted by rin - a month ago
1

test

PCRE2 (PHP >=7.3)
mail, pass, ...
Submitted by anonymous - 2 months ago
1

one line html

PCRE2 (PHP >=7.3)
matches html
Submitted by anonymous - 2 months 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)