I have
$('#tab1').css("background-image", "url(../CARImages/Icons/tab1.png)");I need to extract../CARImages/Icons/tab1.pngfrom this.I may have
background-image:url(../Images/Themes/tile_bg.png);syntax in css. I need to extract../Images/Themes/tile_bg.pngfrom this.Syntax can be background:url("../Images/bg_topnav.gif"); I need to extract ../Images/bg_topnav.gif from this.
4.. Syntax can be background:url('../Images/bg_topnav.gif'). I need to extract ../Images/bg_topnav.gif from this.
Can I have same Regex for the above syntax to extract image reference.
Output should not contain inverted comas, which are present in the original syntax.