Hello,
I've got an input text in which I want to replace every string like "match(value)" by "value" (and store all "value" in an array)
i.e:
bla bla bla
bla bla match(value1) bla bla
bla match(value2) bla bla
bla match bla bla
bla match(value3) bla
becomes:
bla bla bla
bla bla value1 bla bla
bla value2 bla bla
bla match bla bla
bla value3 bla
and I have @array=(value1,value2,value3);
the text is in a scalar $txt
what is the substitution to apply to $txt ??
Thanks.
I've got an input text in which I want to replace every string like "match(value)" by "value" (and store all "value" in an array)
i.e:
bla bla bla
bla bla match(value1) bla bla
bla match(value2) bla bla
bla match bla bla
bla match(value3) bla
becomes:
bla bla bla
bla bla value1 bla bla
bla value2 bla bla
bla match bla bla
bla value3 bla
and I have @array=(value1,value2,value3);
the text is in a scalar $txt
what is the substitution to apply to $txt ??
Thanks.