Hi. How would you go about trying to match a word in the middle of a variable? E.g.
$line = "something ace-installer.com something else you get he idea";
if ($line =~ /.+ace-installer\.com.+/) { &sendit; }
I know that .+ should match stuff wherever it is after something, but it doesn't seem to be matching
Any ideas?
Thanks
Andy
webmaster@ace-installer.com
http://www.ace-installer.com
$line = "something ace-installer.com something else you get he idea";
if ($line =~ /.+ace-installer\.com.+/) { &sendit; }
I know that .+ should match stuff wherever it is after something, but it doesn't seem to be matching
Any ideas?
Thanks
Andy
webmaster@ace-installer.com
http://www.ace-installer.com