Add exception to regex to ignore css/img/js/ext