I would like to skip the first occurrence of a pattern (`_` in this example) and then substitute rest of the string including the pattern with tab. For example:

```
T004_7_entry_00007_conf_01

```

Desired output:

```
T004_7

```

I have tried the following in sed:

```
sed 's/_.*\t/\t/'

```