Top > CGI(perl) > s///
#!/usr/bin/perl print "Content-type:text/html\n\n"; $address = "achaporutepiipo\@gmail.com"; print "address : $address<br>"; $address =~ s/(.+)\@.+/$1/; print "変換後 : $address"; ●出力結果 address : achaporutepiipo@gmail.com 変換後 : achaporutepiipo