in reply to Re: How to do regex backreferences within $variable replacement text?
in thread How to do regex backreferences within $variable replacement text?
And here's the output:[ 'Once upon a time, Jack Roush was not the king of the NASCAR garage, + but a stock-car outsider from Michigan trying to start a Winston Cup + team with a small-time budget.', '(king of the NASCAR )(garage, but +a stock-car)', 'HERE1$1HERE2$2HERE3' ]
[Once upon a time, Jack Roush was not the king of the NASCAR garage, b +ut a stock-car outsider from Michigan trying to start a Winston Cup t +eam with a small-time budget.] ... [Once upon a time, Jack Roush was not the HERE1king\ of\ the\ NASCAR\ +HERE2garage\,\ but\ a\ stock\-carHERE3 outsider from Michigan trying +to start a Winston Cup team with a small-time budget.]
|
|---|