Notepad++ solution

  1. Add the Python Script plugin in Notepad++
  2. After adding it, click Plugins -> Python Script -> New Script
  3. Give the script a name, use the following code:
import re

number = -1
def calculate(match):
    global number
    number = int(match.group(0))
    if number >= 150:
        number += 1
    return str(number)

editor.rereplace('(?<=group)\d+', calculate)
  1. Save the script. Open your file.
  2. Click Plugins -> Python Script -> Scripts. Select the script you just created.
  3. When the script finishes running, add the new group 150.