I want to format text using `awk` or `sed`.
I have text looking like, 

```
H1 (dxfault)
H337 (Unxr)
H1106 (hast)
H1129 (h1129)
H1370 (hlan1370)

```

I want to remove the letter `H` and everything after the **first space**, and format numbers look like `1,337,1106,1129,1370`

I found two different `sed` options 

First:

```
sed 'y/H/ /' #for removing H letter in front 

```

Second:

```
sed 's/\s.*$//' #for removing everything after first break "space" 

```

How can I combine these commands and add a comma after the numbers?