need a simply preg_match, which will find \"c.aspx\" (without quotes) in the content if it finds, it will return the whole url. As a example
$content = \'
If you want to find any quoted string with c.aspx in it:
/"[^"]*c\.aspx[^"]*"|'[^']*c\.aspx[^']*'/
But really, for parsing most HTML you'd be better off with some sort of DOM parser so that you can be sure what you're matching is really an href.