Used regex to remove garbage characters from location filter