fix regex to recognise email addresses to handle -, _ and . before @ correctly