added regex to print output

#added by Garry Baker on 29JUNE2014
commit

commit???