Andrei Zhamoida Andrei Zhamoida - 4 years ago 174
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.

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download