UltraEdit正则表达式使用示例2

1        要将  $BSMeta['title'] 替换为 $BSMeta.title

Search:   \['(\w+)'\]        

replace: \.\1

 

2     只留下序号和汉字,其他的代替为空格

 78)help sb. with sth. help sb. do sth.……方面帮助……帮助……    80)help each other 互相帮助

79)help oneself to some chicken/fish/meat 请随便吃点鸡//      81)keep up with 跟上,不落后于

82)keep silent/quiet 保持沉默/安静  83)keep sb. doing sth.使一直做…     84)keep one's diary 记日记

85)make a noise (a lot of noise, much noise, noises)吵闹(十分嘈杂)        86)make a living谋生

 

Search: ([\d]+\))([a-z \(\)\/',\.…]*)

replace: \1           

 

转自http://www.magemadi.com/www/22/2015-08/28.html

你可能感兴趣的:(ultraEdit)