Add single line at start of multiple files

I need to add license comments for multiple Files.

 

I know that regex should work, but what if it only matches the header of file.

 

As shown in the figure below, this method is ok, but I need to replace it manually to avoid not being the first line

0

请先登录再写评论。