I forgot, you have to escape the "." or it matches any character.if ($host=~m/thes530-(\w+)\.otenet\.gr/) { my $info = $1; }
In reply to Re: regeex question
by neniro
in thread regeex question
by Nik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |