Regular Expressions 101

Sponsors

Library entries

1
javascript

Discord emoji regex

Discod emoji regex
Submitted by Xaliks - a year ago
1
javascript

Color RegEx

Color RegEx
Submitted by Xaliks - a year ago
1
javascript

Zeitnahme

Parses "Zeitnahme" text files
Submitted by anonymous - a year ago
1
javascript

Regex Alamat

Regex untuk Alamat
Submitted by aji - a year ago
1
python

phone

This regex is decision phone number
Submitted by anonymous - a year ago
1
python

Test end

Test end
Submitted by anonymous - a year ago
1
python

link findall

Submitted by Kerem Göksu - a year 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