I am using PHP & want to parse given string: Let say
$str = '<object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/W-WKYIgGBbU&hl=en_US&fs=1"></param><param
name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param>
<embed src="http://www.youtube.com/v/W-WKYIgGBbU&hl=en_US&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always"
allowfullscreen="true" width="100" height="100"></embed>
</object>';
ve ben sadece ihtiyacım var
$output = '<embed src="http://www.youtube.com/v/W-WKYIgGBbU&hl=en_US&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always"
allowfullscreen="true" width="100" height="100"></embed>';
and set height and width to my custom value let say $width = 30 and $height = 40.
Teşekkürler ..