regex.cpp created by Abhay Ohri (abhayoh) for eMOP to large imprint lines for input into DB of imprint information