Updating Ajax call file

Updating the regular expression to something that actually works.