Hi,
I see...
What about this:
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "(\\<.+\\>)\\s*$";
app.findGrepPreferences.appliedCharacterStyle = "italic";
app.changeGrepPreferences.changeTo = "~m\$1";
myDoc.changeGrep();
if your goal is the last word not preceded by any space replace this line;
app.findGrepPreferences.findWhat = "(?<!\\s)(\\<.+\\>)$";
rgds
Jarek