changing from regex to string