量指定子 * 、貪欲ではありませんか? \s*
空白の 0 回以上の出現に一致してはならず、指定された入力文字列の最後まですべてに一致するものはどれですか?
#!/usr/bin/perl
use strict;
use warnings;
my $input="Name : www.devserver.com\n";
$input=~s/\w+.:\s*//; # /s* should not it match everthing till \n at the end ?
print $input;
この動作を理解するのを手伝ってください。