Answered
Select the text after a • but not the •
I'm trying to select the first to words after each • but not include the •. I'm not having any luck. It always selects the • too. Is there any way to do this?
var cStyle = curDoc.characterStyles.item("Style");
var curSel = app.selection[0];
app.findGrepPreferences = NothingEnum.nothing;
app.findGrepPreferences.findWhat = "•\\s\\S+\\s\\S+";
app.changeGrepPreferences.appliedCharacterStyle = cStyle;
curSel.changeGrep();

