SQL substring question

could you please help in getting the below sub string.

I have values like
1.1
1.10.1
1.2.2.1

expected output (need to exclude the digits after the second dot)
1.1
1.10
1.2