Regular Expressions 101

Sponsors

Library entries

1
javascript

fieldOrderNumber

no description available
Submitted by anonymous - 7 years ago
1
pcre

dsadsa

dsadsadsa
Submitted by dsadsadsa - 7 years ago
1
pcre

Match localizable strings

no description available
Submitted by anonymous - 7 years ago
1
pcre

Match localizable strings

no description available
Submitted by LadyDascalie - 7 years ago
1
pcre

Pro Football Weekely - Green Bay Packers

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

lesson 1

no description available
Submitted by Anmol - 7 years ago
1
pcre

HTML hyperlinks

Match all Hyperlinks
Submitted by anonymous - 7 years ago
1
pcre

lesson 4

no description available
Submitted by anonymous - 7 years ago
1
pcre

Space replacement

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

Format phone number

no description available
Submitted by andreasonny83 - 7 years ago
1
pcre

Parse Youtube links

no description available
Submitted by anonymous - 7 years ago
1
pcre

Get 3 segment nz table name

no description available
Submitted by vwei02 - 7 years ago
1
pcre

Parse faxmail log

no description available
Submitted by Michael Blair - 7 years ago

CSS font-face rules for embedded webfonts (base64-encoded woff/woff2)

Vote

1

Regular Expression
javascript

/
(?:^|)(?:(?<=(?:font-family[:] ?))['"](.+?)['"]|(?<=(?:font-weight[:])) ?(.+?)|(?<=(?:font-style[:])) ?(.+?)|(?<=src: ?url[(])(?:['"]?data:(.+?)[;,](base64)[,])(.+?)(?:['"]?[)])(?:[\n\s ]?format[(]['"](\S+)['"][)])?)(?:[;][\n])(?:|$)
/
mdg

Description

Loading markdown...
Submitted by Nicholas Berlette (@nberlette) - 6 months ago