Examples/Module: dplreplace (example 3)

Example
Replaces "a" with "A" if there is an "r" somewhere after the "a". The  references the group found between the "a" and "r" and puts it back into the replaced string.

Matches, with the group match in : "a(br)", "a(kadabr)".