Regular Expressions 101

Community Patterns

Extract all images URLs that are local (domain omitted) from a web page

0

Regular Expression
ECMAScript (JavaScript)

/
(?:(?:\.\.\/?)+[a-zA-Z0-9\/\._-]{1,})+(?:(?:jpe?g|png|gif|bmp|webp|pna|tiff|svg))
/
gsim

Description

Extract all images URLs that are local (domain omitted) from a web page

Submitted by anonymous - 2 years ago