Regular Expressions 101

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
(?:(?:src\=)|(?:data-backgroundImage\=)|(?:data-image\=)|(?:url\()|(?:url[\"\']*\:)|(?:href\=)|(?:rel\=))\s*[\'\"]?\s*([(?http:)(?https:)]*[(?:\/\/)*(?:\.\.\/)*]*)?(([^\:\n\;\*\"\?\<\>\{\}\|\=\!\@\$\^\/]*\.([a-zA-Z][a-zA-Z0-9]{1,4}))?\/*([^\:\n\;\*\"\?\<\>\{\}\|\=\!\@\$\^]+\.(css|js)))[\'\"\)\;\s\?\>]
/
gi

Description

no description available

Submitted by anonymous - 7 years ago