Fix some issues and use regex to parse title