前提是 "使用正则表达式"的复选框打上勾。
1 查找<>之间的字符串: ".*?"
2 查找双引号之间的字符串: ".*?"
3 [ ]包含的字符串 [[^[]*?]
4 变量名 [a-zA-Z_][a-zA-Z_0-9]*
5 IP 地址 ([0-9]{1,3}).([0-9]{1,3}).([0-9]{1,3}).([0-9]{1,3})
6 各行Tab以后的文字列 .*$
7 行头插入 // Find: ^ Replace with: //
8 删除行头 // Find: ^//
9 删除行后的空白文字(包含空格和制表位 Space+Tab) Find: s+?$
10 将(abc)替换为[abc] Find: ((.*?)) Replace: [1]
11 将<H3 …>替换为<H4 …> Find: <H3(.*?)> Replace: <H41>
12 将9/13/2003替换为2003年9月13日 Find: ([0-9]{1,2})/([0-9]{1,2})/([0-9]{2,4}) Replace: 3年1月2日
13 将字母a-z替换为大写字母 Find: [a-z] Replace: U
14 首字母大写 Find: ([a-zA-Z])([a-zA-Z]*) Replace: U1L2
15 平仮名ひらがなHiragana [x{3041}-x{309e}]
16 全角片仮名 全角カタカナFull-width Katakana [x{309b}-x{309c}x{30a1}-x{30fe}]
17 半角仮名 半角カナHalf-width Kana [x{ff61}-x{ff9f}]