changed escape char for regex to - instead of \ which is irritating to type