0 Replies Latest reply on May 11, 2016 11:21 PM by AnonymousDefaultUser

    substitute text in file with regexp...

    AnonymousDefaultUser Master

      So I want to substitute some text in a file. I picked the substitute action for that (seems natural :-). My question is this: I want tp extract a vlue from the pattern and use that in the new value.


      Basically something like this:

      <pattern>#.*num_tokens: (.*)$</pattern>
      <value>num_tokens:  or 1</value>

      So far that doesn't seem to work... should it? Am I doing something wrong?