lundi 30 mars 2015

preg_replace - only URL which is starting from "http" and ending by ".flv"


Vote count:

0




I'm trying to create an replacement which remove everything what is not between "http://" and ".flv".


Here is my code:



preg_replace('"http://(.*?).f;v"', '', $code);


but it doesn't work. Anyone can help me?


Thanks.



asked 1 min ago







preg_replace - only URL which is starting from "http" and ending by ".flv"

Aucun commentaire:

Enregistrer un commentaire