8 Replies Latest reply on Dec 7, 2016 1:25 PM by Peter Kahrel

    FindGrep(): How do I store the second subset?

    Schmaltzkopf Level 1

      Hi there.

      I have the following GREP:

      app.findGrepPreferences.findWhat = "(^[A-z [:punct:]]+)(\\(\\d{1,3}\\:\\d{1,3}(-\\d{1,3})?\\))(\\.~b)";

      I want to store the second subset only (ex. "(28:32)").

      How can I do that?

      I tried combining positive lookahead with positive lookbehind, with no success.


      Any help would be appreciated.