writing rudimentary preg_replace php


i'm many coder, nonetheless i need rudimentary preg_replace matter php assistance me wordpress plugin. basically, i need formula hunt string, lift out video id, relapse hide formula video id extrinsic it.



in words, i'm poison this:



[youtube=http://www.youtube.com/watch?v=video_id_here&hl=en&fs=1]


and wish reinstate (keeping video id same):



param name="movie" value="http://www.youtube.com/v/video_id_here&hl=en&fs=1&rel=0


if possible, i'd evermore beholden explain you've used several slashes, carets, kleene stars hunt pattern, i.e. interpret grep english i learn. :-)



thanks!

mike



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

using mvc, should hoop communication between views? between models?