hope someone can help me here.
I have a variable with an iframe in it, like this.
var iframe = '<iframe src="http://someaddress.com" width="600" height="500"></iframe>';
And i want to get the src, width and height, out of the variable, and into their own variables. I know i can use regular expression to it, but i can´t figure out how.
1 Answer