Hey all,

I'm trying to figure out how to setup a regex that will grab everything included in a CSS @font-face declaration for parsing. I am at a loss and not great with this.

I have an example of a regex expression that grabs everything in the way I need it for a CSS @import statement.

Code:
var RE_IMPORT = /@import\s*(?:(?:(?:url\(\s*(['"]?)(.*)\1)\s*\))|(?:(['"])(.*)\3))\s*([^;]*);/g;
Just ask if I'm missing any required info.

Cheers,
Graeme