Answer the question
In order to leave comments, you need to log in
Regex how to leave the last word in a string?
Tell me how to leave the last word in a line with a regular expression?
In EXCEL, I got it using the formula:
\u003d SUBSTITUTE (PSTR (RIGHT (" "& SUBSTITUTE (A2;" "; REPEAT (" "; 999)); 999 * 1); 1; 999);" "; "")
A Here's how to do it regularly, unfortunately I don't know...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question