Updated css url matching regex to strip whitespace and quotes. Updated external matching to use string functions in place of regex and curly braces in place of hash