Regular Expressions 101

Sponsors

Library entries

0
javascript

Dynamic Search Extra param

no description available
Submitted by anonymous - 5 years ago
0
javascript

subdomain catcher

no description available
Submitted by anonymous - 5 years ago
0
javascript

subdomain catcher

no description available
Submitted by anonymous - 5 years ago
0
javascript

subdomain catcher

no description available
Submitted by anonymous - 5 years ago
0
javascript

String between URL slashes

no description available
Submitted by anonymous - 5 years ago
0
javascript

4x4 matrix

no description available
Submitted by anonymous - 5 years ago
1
javascript

GIT URL

no description available
Submitted by UNKNW - 5 years ago
0
javascript

remove video sizes

no description available
Submitted by anonymous - 5 years ago

Finding All assets RegEx

Vote

0

Regular Expression
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\;\*\"\?\<\>\{\}\|\=\!\@\$\^]+\.([a-zA-Z][a-zA-Z0-9]{1,4})))[\'\"\)\;\s\?\>]
/
gi

Description

Loading markdown...
Submitted by anonymous - 6 years ago