例如要删除<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ValidateCode.aspx.cs" Inherits="ValidateCode" %>中的红色部分,则在查找与替换中,选择“正则表达式”CodeFile="{.+}.aspx.cs" 替换为空或者其他内容即可
Visual Studio利用正则表达式进行查找和替换
原文:https://www.cnblogs.com/cdoneiX/p/12258577.html