dded changes to regex for input sanitisation