I have a string test.cgi@action=<action-name>
<action-name>
can be any string
I would like to replace the above string with <action-name>.html
Can any one please let me know how I can proceed with t开发者_开发知识库his using a Perl script?
$string =~ s/test\.cgi@action=(.*?)/$1.html/g;
精彩评论