In the Google Colab notebook menu: Edit :: Find and Replace (Ctrl + H). Tick the "use regular expressions box".
The regexp queries work as expected on find. However, in the replace box I am unable to enter any backreferences for capture groups.
The usual backreference syntax for capture groups is either \1 or $1 (e.g.for capture group 1) However, this does not work in the replace box. If capture group backreferences are supported on Colab notebooks then please would you explain the syntax and if possible give some examples.