Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

PHP Regex help.

Avatar of sahanz
sahanz asked on
7 Comments1 Solution323 ViewsLast Modified:
Hello have this code,
<object width="480" height="384"><param name="movie" value="http://www.dailymotion.com/swf/video/xf13nw?additionalInfos=0"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed type="application/x-shockwave-flash" src="http://www.dailymotion.com/swf/video/xf13nw?additionalInfos=0" width="480" height="384" allowfullscreen="true" allowscriptaccess="always"></embed></object><br /><b><a href="http://www.dailymotion.com/video/xf13nw_on-the-game-episode-3_sport">On the Game - episode 3</a></b><br /><i>Uploaded by <a href="http://www.dailymotion.com/Mike_J_Nicholson">Mike_J_Nicholson</a>. - <a href="http://www.dailymotion.com/en/channel/sport">Check out more sports and extreme sports videos.</a></i>

This is a dailymotion video embed code and I want to grab the video id from it, in the first instance of code has a param "<param name="movie", this param value's has the video url which is "http://www.dailymotion.com/swf/video/xf13nw?additionalInfos=0" I want to grab the id from here, in this case its "xf13nw"

How to do that?
Avatar of Sudaraka Wijesinghe
Sudaraka WijesingheFlag of Sri Lanka imageWeb Application Programmer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

This problem has been solved!
Unlock 1 Answer and 7 Comments.
See Answers