added regex to file