um, we can use a regex to check things before ":", let me write it down.