I am new to `sed` and am having some troubles making it work.

What I want is this:

```
abc.ztx.com. A 132.123.12.44 ---> abc.ztx.com

```

I used the below pattern, but doesn't seem to work:

```
echo "abc.ztx.com. A 132.123.12.44" | sed 's/\.\s.+//g'

```

I verified the regex using regex101.com and pattern, `\.\s.+` matches the part `. A 132.123.12.44` perfectly. Why is it not working with `sed`.

Appreciate your help. Thank you.