This is my Regex Query Tool. It was developed to test regex patterns in python. For using it, follow the instructions:
-
Clone this repo:
git clone https://github.com/macfernandez/regex-query-tool
-
Create an environment (optional, but highly recommended).
-
Run:
python -m src <pattern> <input> [-f] [-s] [-o <output-file>]
pattern
: the regex pattern you want to testinput
: either the string for testing the patter, or a file path with those string--file
,-f
: ifinput
is a file path, you must use this flag, otherwise the pattern will be tested against the file path as string--silent
,-s
: for avoiding verbose behavior--output-file
,-o
: to save the output in a file, you must use the flag and write the output file path following it