I'm trying to write a text-replacement regex that will take the typo "rpo" followed by any word character and replace the "rpo" portion with "pro" (and followed by the that arbitrary \w character). I tried this regex as the triggering string:
rpo\w
But that match includes the \w character and overwrites it, so "rpod" is replaced with "pro" rather than "prod".
Also tried a look-ahead:
(rpo)(?>[cd]) and then experimented with %TriggerValue% but couldn't find a way to just capture the look-ahead capture group.
By the way, I the above may not be a "look ahead" which I thought used an equals instead: (?=[cd]) but this didn't take any action.