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

    技术2025-01-13  11

    如何使用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.

    最新回复(0)