- Using GUI to apply RegEx matching or replacement for the text.
- Input RegEx and highlight the matching results in real-time in the
Text
window, support multi-groups. - The matches are displayed in the
Result
window, separated byTab
, can be copied toExcel
sheet. - Support using options to filter the results.
- Download portable version: https://github.com/znsoooo/regex-matcher/releases
- Author: Shixian Li
- QQ: 11313213
- Email: lsx7@sina.com
- GitHub: https://github.com/znsoooo/regex-matcher
- License: MIT License. Copyright (c) 2023-2024 Shixian Li (znsoooo). All Rights Reserved.
This program need run on python>=3.6
and wxpython>=4.0.0
Install requirement and run on Windows / OSX:
pip install wxpython
python RegexMatcher.py
Install on Linux, you may need to find *.whl
here and install:
https://extras.wxpython.org/wxPython4/extras/linux
- ASCII Graphic:
+----------------------------------------------------------------+
| Regex Matcher v1.1.0 [_] [ ] [X] |
+---------------------------------+------------------------------+
| Text: | Results: |
| | |
| The quick brown fox jumps over | quick |
| the lazy dog. | brown |
| | jumps |
| | |
| | |
| +----------------------+---+---+
| | RegEx: [ \w{5} ] | < | > |
| +----------------------+---+---+
| | Replace: [ ] | Apply |
+---------------------------------+----------------------+-------+
- PNG Graphic:
- Input the pattern in
RegEx
box, find matches inText
and show inResult
window - Input the template in
Replace
box, show replaced text inResult
window
- Sort found items and show in
Result
window - Remove duplicate item in
Result
window - Reverse the items in
Result
window
- View previous / next matched position in
Text
window
- Use current
Result
window's text to replaceText
window