zoukankan      html  css  js  c++  java
  • vs 2017 正规表达式替换整行多行数据

    1 ((<OutputFile>..*</OutputFile>)[Ss])[Ss]
    从  <OutputFile>  开始
    到  </OutputFile>  结束

    1 <OutputFile>$(MSBuildStartupDirectory)Build$(Configuration)$(MSBuildProjectName)$(TargetExt)</OutputFile>
    

    要以  结束

    示例:

     1 ((<OutputFile>..*</OutputFile>)[Ss])[Ss]
     2 <OutputFile>$(MSBuildStartupDirectory)Build$(Configuration)$(MSBuildProjectName)$(TargetExt)</OutputFile>
    
     3 
     4 
     5 ((<ModuleDefinitionFile>..*</ModuleDefinitionFile>)[Ss])[Ss]
     6 <ModuleDefinitionFile>$(MSBuildProjectName).def</ModuleDefinitionFile>
    
     7 
     8 <ImportLibrary>../../链接库/Ansi/ModuleManager.lib</ImportLibrary>
     9 
    10 ((<ImportLibrary>..*</ImportLibrary>)[Ss])[Ss]
    11 <ImportLibrary>$(MSBuildStartupDirectory)lib$(Configuration)$(MSBuildProjectName).lib</ImportLibrary>
    
    12 
    13   <Command>mkdir ......发布组件服务器组件ReleaseUnicode
    14 copy /y ......运行ReleaseUnicode$(TargetFileName) ......发布组件服务器组件ReleaseUnicode$(TargetFileName)
    15 </Command>
    16 
    17 ((<Command>..*</Command>)[Ss])[Ss]
    18  
    
    19 
    20 ((<OutputFile>..*</OutputFile>)[Ss])[Ss]
    21 <OutputFile>$(MSBuildStartupDirectory)Build$(Configuration)$(MSBuildProjectName)$(TargetExt)</OutputFile>
    
    22 
    23     <OutDir>$(Configuration)</OutDir>
    24 
    25 ((<OutDir>..*</OutDir>)[Ss])[Ss]
    26 <OutputFile>$(MSBuildStartupDirectory)Build$(Configuration)$(MSBuildProjectName)</OutputFile>
    
    27 
    28 
    29     <IntDir>$(Configuration)</IntDir>
    30 ((<IntDir>..*</IntDir>)[Ss])[Ss]
    31 
    32 
    33 ((<PostBuildEvent>..*</PostBuildEvent>)[Ss])[Ss]
    示例
  • 相关阅读:
    MATLAB函数大全 .
    让隐藏的virtualBox菜单重新显示
    【转载】matlab 脚本文件和函数文件
    Ubuntu下用命令行快速打开各类型文件
    关于存货的成本计价方式
    C# .net asp学习笔记
    在DLL中怎么共用一个全局变量
    如果比较表中同类型多列值是否相等?
    统计报表(用ROLLUP 汇总数据)
    UML建模
  • 原文地址:https://www.cnblogs.com/endv/p/8292107.html
Copyright © 2011-2022 走看看