VMware Cloud Community
AnonymousDefaul
Enthusiast
Enthusiast

substitute text in file with regexp...

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?

Labels (1)
Reply
0 Kudos
0 Replies