Regular Expressions 101

Community Patterns

Find scripts or css URIs

2

Regular Expression
ECMAScript (JavaScript)

/
"(.+)(?:"\s|">)
/
g

Description

Given script or link tags, find and extracts URIs, excluding the double quotes

Submitted by Rodrigo Kaveski - 9 years ago