https://github.com/ceybers/excel-regex-tool
GUI for previewing your Regex pattern before applying it to data in Excel
https://github.com/ceybers/excel-regex-tool
Last synced: 4 months ago
JSON representation
GUI for previewing your Regex pattern before applying it to data in Excel
- Host: GitHub
- URL: https://github.com/ceybers/excel-regex-tool
- Owner: ceybers
- License: mit
- Created: 2021-12-08T06:40:01.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-20T15:52:26.000Z (about 3 years ago)
- Last Synced: 2024-08-13T07:18:15.140Z (8 months ago)
- Language: VBA
- Size: 108 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - ceybers/excel-regex-tool - GUI for previewing your Regex pattern before applying it to data in Excel (VBA)
README
# excel-regex-tool
A GUI for previewing your Regex pattern before applying it to data in Excel.## How to Use
Enter your pattern, and result mask if required, then press Preview.

The preview will be populated with results from a small sample of the selection, including whether or not a cell matches your pattern.
If you are happy with the preview, press Run to apply the pattern to the entire selection. The Results window will list how many cells passed the pattern, failed the pattern, or were blank, non-text, or errors.

If you are happy with the results, press Save to commit the data to the sheet.
Optionally, the Highlight checkbox will highlight pattern matches in green, and non-matches in cross-hatched pink.

## References
These are Early-bound for now, and need to be added via Tools > References* Microsoft VBScript Regular Expressions 5.5 (`vbscript.dll`)
* Microsoft Windows Common Controls 6.0 (SP6) (`mscomctl.ocx`)## To-do
* Gracefully handle malformed patterns
* Gracefully handle malformed result masks
* Apply results to a different column
* Store/recall previous patterns
* Implement unit testing