如何使用UltraEdit去删除含有特写字符的行?

如何使用UltraEdit去删除含有特写字符的行?

 

使用正则表达式:

查找:%*YOUR STRING*^p

替换:“”

 

提示:更多示例访问:http://www.ultraedit.com/support/tutorials_power_tips.html

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

How can I remove lines that contain a particular string?

 

You can replace lines containing a string with a Regular Expression Replace All. (Make sure "UltraEdit style Regular Expressions" are selected from the Adanced -> Configuration -> Search -> Regular Expressions Engine dialog.)

To do this you would do a find of:

Find What: %*YOUR STRING*^p
Replace With: (literally nothing)


The Regular Expressions section in the Help file has further details and examples are available online in the Power Tips section of our site.

你可能感兴趣的:(String,正则表达式,File,search)