I have this block of text'
/dev/disk0s2 3.6Ti 2.9Ti 796Gi 79% 383906083 104366287 79% /
/dev/disk0s3 1.2Ti 1.3Ti 796Gi 79% 383906083 104366287 79% /
using (see https://regex101.com/r/44YqQe/1)
(\/dev\/disk0s2).* (\d*\.\d+)?Ti
Desired result: 3.6
Actual Result : 2.9
Question
How do I match and stop at the first match with this regex?