Text2Excel is a desktop GUI application that extracts data from text files and saves them into Excel or CSV files using regular expression (regex) patterns. It is built with Python’s re module.
Tested on Windows and Linux.
- Add regex patterns via the patterns widget (right-click → context menu).
- Choose whether data goes into columns or rows, and select the target sheet.
- Exact Order option:
- Disabled → places data starting from the last filled row in the file.
- Enabled → aligns data strictly with existing entries (only in “put in columns” mode).
- Support for regex groups:
- Example:
This matches 5 word characters followed by a digit, but only the digit will be saved if wrapped in a group.
\w{5}(\d)
- Example:
- Export to Excel (.xlsx) or CSV (.csv) (CSV available via the output file context menu).
note: You cannot place multiple groups in one pattern
This project requires openpyxl. Install it with:
python -m pip install openpyxlVersion used during development:
python -m pip install openpyxl==3.1.5Run the app with:
python src/text2excel.pyTo build an executable with pyinstaller:
cd build
pyinstaller text2excel.specInstall pyinstaller if needed:
pip install pyinstallerThis project is licensed under the MIT License.
