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
  • 18,825
  • 20
  • 87
  • 132
AndroidAL
  • 1,071
  • 3
  • 14
  • 34

1 Answers1

2

You can use capturing groups

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

Replace With: (\1,\2)
dimcookies
  • 1,900
  • 7
  • 32
  • 36