Andrei Zhamoida Andrei Zhamoida - 10 months ago 49
Javascript Question

How to get base64 code from css rule

I've got a string


I need to invoke only base64 data from it. In output i'd like to see something like this

Could anyone help me with creating a correct RegExp expression?

Thanks in advance.


If you get group 1 from the regex, you will get the base64 data you want.