Ive tried to get the Regex to work for this script.
What I need it to do is take the width and height from the youtube code that is inserted and replace it with a specified height and width.
$youtube = str_replace('width="' * ' "','width="500"' $_POST['youtube']);
Can anyone help with this?