PHP Script to extract .flv links from a page


I am looking for a PHP Script which can extract .flv urls from a web page. I googled for this but only getting the script based for the youtube videos and the website is not based on youtube architecture. just need to get links from a normal website where flv videos are played through players like JW players or some other players.