Added regex to strip slashes