PHP PHP function to count total number of URL in any string Akash Sharma, February 16, 2015 This PHP code gives you ability to count total number of URLs available in any given string