Regex tester
Pattern
Input
MR TEST ABC
MADAM TEST DEF
DR IR TEST GHIJKLM

Insert new Salutations into the brackets but separate each with a "|"
Options
Replacement
Click the context tab to see replacements.
3 matches found in about 1 millisecond.
IndexPositionMatched String$1
00MRMR
113MADAMMADAM
229DRDR
MR TEST ABC
​MADAM TEST DEF
​DR IR TEST GHIJKLM
​
​Insert new Salutations into the brackets but separate each with a "|"
  1. empty string
  2. MR
  3. TEST ABC
  4. MADAM
  5. TEST DEF
  6. DR
  7. IR TEST GHIJKLM

    Insert new Salutations into the brackets but separate each with a "|"