Fix regex for titles