Extract the last word using regex

Hi ,
i m having strings similar to this format

  • MN LG RESu12
    -Sonen niko 9.43/10
    -SumSug ksm 9.89

i want to extract the last set before the last spaces i did use \s(\w+)$ it only capture the word not decimal points

Hi,

Can you try the following pattern?

\S+$

Regards,

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.