if I am capturing strings of unknown length, but I always know the last word is the word I need, how can I best capture that to be used in a trigger?
finding last word in a trigger capture
Posted by Lilbopeep on Wed 06 Jun 2012 02:50 AM — 2 posts, 11,825 views.
Presumably a regular expression like this
^.*?(\w+)$
or maybe
^.*?([^ ]+)$
or even just
([^\s]+)$
^.*?(\w+)$
or maybe
^.*?([^ ]+)$
or even just
([^\s]+)$