I'm trying to get some sed command to work without success...

```
echo -e "This.Is.a.Test.V03.r501.dump" | sed  "s/^\(\w+(\.\w+)*\)\.V[0-9]{2}.*$/\1/g"

```

Basically, I want to match and return `This.Is.a.Test` while this `\.V[0-9]{2}` is fixed, but instead it returns the whole input string.

Any help is appreciated, thanks in advance!