This script takes a regex string and a directory. It matches the regex string to the contents of all of the files inside. This script is probably not recursive, too lazy to code that in.
Adding python
is important because the script won't work without it.
the path on Windows can either use a single slash (C:) or a double slash (C:\)
python regex-folder.py C:\path\to\file\ regex-string-here