UltraEdit正則表達式使用示例2

1        要將  $BSMeta['title'] 替換爲 $BSMeta.titlehtml

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

replace: \.\1ui

 

2     只留下序號和漢字,其餘的代替爲空格spa

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

79)help oneself to some chicken/fish/meat 請隨便吃點雞//      81)keep up with 跟上,不落後於 get

82)keep silent/quiet 保持沉默/安靜  83)keep sb. doing sth.使一直作…     84)keep one's diary 記日記it

85)make a noise (a lot of noise, much noise, noises)吵鬧(十分嘈雜)        86)make a living謀生 class

 

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

replace: \1           margin

 

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

相關文章
相關標籤/搜索