Fixing regex - P/T