added program that will extract regex