Gedit by default doesn't contain regular expression search. To get this feature, you should install a plugin. We will use Regular Expression plugin from Ben Fisher.

1. Download Plugin


You can download the plugin at regex_replace-gedit3.tar.gz.

2. Install Plugin


  1. Copy the downloaded plugin file into ~/.local/share/gedit/plugins/ directory.
  2. Extract it.

3. Enable Plugin


Open Gedit > menu Edit > Preferences > tab Plugins > check on Regex Search and Replace.

, , ,