I am having the below text response I created a regular expression but I want to exclude the last character from the response.

**INPUT**: 

```
href=\"admin_task_detail?rid=d652a3dd-fff0-4174-a065-5158298493af&tid=4947358c-9f5a-4174-8699-7fa12f9ac3c8&v=5ecb5743a92e7\" >T4947-C3C8<\/a>","@data-order":"T4947-C3C8"},

```

**Reg Exp which I tried** 

```
tid=(.+?)\"

```

**Results:** 

```
Match[1][0]=tid=4947358c-9f5a-4174-8699-7fa12f9ac3c8&v=5ecb5743a92e7\"
Match[1][1]=4947358c-9f5a-4174-8699-7fa12f9ac3c8&v=5ecb5743a92e7\

```

The slash symbol need to get excluded from the response.