A graphical interface application for searching and replacing text using regular expressions. Allows you to quickly find matches in text, highlight them, and perform replacements using specified patterns.
- Entering text to be processed and a regular expression to search for.
- Highlighting found matches in the source text.
- Displaying a list of all found fragments.
- Replacing found matches with text specified by the user.
- Support for multiline text and Unicode.
- Help menu with a description of the syntax of regular expressions.
- Standard hotkeys for copying, pasting, and selecting text.
- Python 3.x
- Tkinter — for creating a graphical interface
- The re module — for working with regular expressions
- Clone the repository or download the archive with the project.
- Make sure Python 3 is installed.
- Install dependencies from
requirements.txt
with the command:
pip install -r requirements.txt
- Run the application with the command:
python main.py
To build the executable file using PyInstaller:
pyinstaller --onefile --noconsole --icon=icon.ico --add-data "icon.ico;." main.py
- In the "Regular expression" field, enter the desired search pattern.
- In the "Replacement text" field, specify the text that will replace the found matches.
- In the large left window, paste or enter the original text.
- Click the "Search" button to highlight and display the found matches.
- Click the "Replace" button to apply the replacement and display the result in the right window.
- To get help on regular expressions, click the menu item "?" → "Regular expression help".