Regular Expressions 101

Sponsors

Library entries

0
javascript

multicast

.
Submitted by anonymous - 2 days ago
0
javascript

define_1

1
Submitted by anonymous - 6 days ago
0
javascript

price with two decimals

test
Submitted by anonymous - 7 days ago
1
javascript

ULID

Match a ULID.
Submitted by Matthew Gibbons (@accuser) - 7 days ago
0
javascript

mydata-collector

it is for regex
Submitted by anonymous - 14 days 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) - 2 months ago