Only do single replace in each regex link context