Regular Expressions 101

Sponsors

Library entries

0
javascript

price with two decimals

test
Submitted by anonymous - 10 days ago
1
javascript

ULID

Match a ULID.
Submitted by Matthew Gibbons (@accuser) - 11 days ago
1
java

IP Address

(^([0-9]{2,3}.)([0-9]{2,3}.)([0-9]{2,3}.)([0-9]{2,3})$)
Submitted by anonymous - 12 days ago
0
golang

nginx access regex loki

nginx access log regex
Submitted by Lethisa Putri - 17 days ago
0
javascript

mydata-collector

it is for regex
Submitted by anonymous - 18 days ago
0
javascript

num pattern

a
Submitted by Ibraheem - 21 days ago
0
javascript

regexGetAccount

(Element CI: )\d{4}
Submitted by raphael - 21 days ago
0
javascript

Echo

Usage of named capture group.
Submitted by Abitwhy - 23 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