Stats: 3,183,016 members, 7,919,232 topics. Date: Tuesday, 13 August 2024 at 02:22 AM |
Nairaland Forum / Science/Technology / Webmasters / How Can I Extract/filter This Text? (584 Views)
How Do I Make This Text Align In The Tab / Collect And Extract Emails,phone And Fax Numbers 4rm The Websites Around D World / How Can I Extract Binary Jpeg From A Sql Database? (2) (3) (4)
How Can I Extract/filter This Text? by deco2come: 1:56am On Sep 04, 2011 |
How can I extract this text(the one in bold) and change it into a variable called $videoid. For example http://www.youtube.com/watch?v=IDiOX0UbHbg and put it here The video id of this video is $videoid |
Re: How Can I Extract/filter This Text? by Nobody: 5:44am On Sep 04, 2011 |
Re: How Can I Extract/filter This Text? by deco2come: 6:34am On Sep 04, 2011 |
omo_to_dun: Thank you so much. I figure out another way of doing it but $websitead = ' https://www.youtube.com/watch?v=IDiOX0UbHbg'; $websitead = str_replace('http://www.youtube.com/watch?v=','',$websitead) ; echo $websitead .'<br/>'; Once again I thank you for your help and reply. |
Re: How Can I Extract/filter This Text? by dhtml8: 6:51am On Sep 04, 2011 |
The code omo_to_dun gave you is better. Your will fail in many ways, what if www. was removed? Besides it it too bulky, but can server for the time sha |
(1) (Reply)
Sms/pc App / Wordpress Blog Owners Help And Discussion Thread / Blog Tip: Claiming Your Blog On Alexa
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 10 |