Regular Expressions 101

Sponsors

Library entries

2
dotnet

Replace sub-strings in string

Replace sub-strings in string
Submitted by anonymous - a month ago
1
golang

lsblk-output-regex

Trying to adapt this regex to support LVM.
Submitted by anonymous - a year ago
1
golang

SQL comments Big Query

SQL comments on Big Query
Submitted by anonymous - a year ago
1
golang

1

11
Submitted by anonymous - 5 months ago

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

Vote

0

Regular Expression
dotnet

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

Description

Loading markdown...
Submitted by The Fourth Bird - 7 months ago