2009-12-01, 10:08 PM
Regular Expression:
Replacement:
\[youtube\](http://)?(www.)?youtube.com/watch\?v=([0-9a-zA-Z\-_ ]+)(.*?)\[/youtube\]
Replacement:
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/$3&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/$3&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>