Discover the UseSubstitutions property in FindReplaceOptions. Easily enable substitutions in replacement patterns for enhanced text editing flexibility.... Replace ( regex , @"$2 took money from $1" , options...Replace ( regex , @"$3 bought a $2 from $1" , options ); Assert ...