fixed title regular expression to include spaces