Split by regexp pattern