I want to grep a part of string that has numbers and dots(.) in it. 

For example:

```
/home/xar/11.1.0/hez
/uaa/14.0.2.5/grd/pc

```

What i want is only this part of line:

```
14.0.2.5
11.1.0

```

I realized that `cut` command is not enough for this problem.