Kush Murod wrote:
If I have filter for example:
var filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingMethod=crop,src='images/blah.gif')";
I would like to extract src value which is images/blah.gif
This seems to do the trick pretty well:

var src = filter.match(/src=["'](.+?)["']/i)[1];

Tested with your example.

--
Jörn Zaefferer

http://bassistance.de

Reply via email to