Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
(?<=src: url\((\"|\')data:application\/octet-stream;base64,)(.+?)(?=(\"|\'\)))
/
g

Description

Match Base64 data stream inside CSS file (WOFF/WOFF2)

Submitted by Anoir Ben Tanfous - 3 years ago