2

Say I have over 200 of these,

(17, 'BH', 'BAHRAIN', 'Bahrain', 'BHR', 48, 973),

Is there a way I to remove, everything except 'Bahrain' and 973, besides going through them one by one?

Micha Wiedenmann
  • 19,979
  • 21
  • 92
  • 137
AndroidAL
  • 1,111
  • 4
  • 15
  • 35

1 Answers1

2

You can use capturing groups

Find What: \(.*,.*,.*,(.*),.*,.*,(.*)\)

Replace With: (\1,\2)
dimcookies
  • 1,930
  • 7
  • 31
  • 37