Regular Expressions 101

Sponsors

Library entries

1
pcre2

Pattern string

Example of test I did do to company.
Submitted by Claudio Santos - a year ago
1
pcre2

BIC Codes

BIC (Bank Identifier Code) #fin #bank #swift #iban #bic
Submitted by anonymous - a year ago
1
pcre2

Detect any integer larger than 499

Glad this helps for some
Submitted by Wallik - 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