Fix regexp pattern to extract tab id