pfff como mencione por que el código de las expresiones regulares no esta bien ,era solo un ejemplo, jaja pero bueno ya me hiciste hacer el código
![borracho](http://static.forosdelweb.com/fdwtheme/images/smilies/borracho.png)
asi que te lo doy, pero no te costumbres y estudia mucho de php si quieres sobrevivir tu solo.
Código PHP:
Ver original<?php
$source = '<embed src="http://www.megavideo.com/v/3QUYN1MK9729ccc1910d6f51c129c5a660985fcb1" type="application/x-shockwave-flash" allowfullscreen="true" width="500" height="200"></embed>';
$patron = array('|height=\"(.*?)\"|', '|width=\"(.*?)\"|'); $sustitucion = array('height="500"', 'width="600"'); ?>