Do any PHP parsers exist that get all urls out of a string? I'd like an alternative to regex for getting all urls out of a string.
Update:
$urls = "http://stackoverflow.com/question
http://stackoverflow.com/questions";
//no space between urls
$urls = "http://stackoverflow.com/questionshttp://stackoverflow.com/questiond";