final_proj.pl replace regex to take any char
final_proj.pl add match for and tested for ips