Hello,
I am using a java platform.
Trying to capture everything past the last whitespace like this: ([^\s]+$)
So Input: "My name is Marven" --> "Marven" (pretty much selecting last word)
I need to check if there is no whitespace, do not select the word. I want to make sure nothing is selected if there is only one word and no whitespace. Maybe check for beginning of line with "^"?
I..e right now: "Marven" --> "Marven"
I need: "Marven" --> n/a
Thanks in advance!