![Notepad++中{ }中内容的通配符替换](https://linux22.com/image/1504274/Notepad%2B%2B%E4%B8%AD%7B%20%7D%E4%B8%AD%E5%86%85%E5%AE%B9%E7%9A%84%E9%80%9A%E9%85%8D%E7%AC%A6%E6%9B%BF%E6%8D%A2.png)
我有一个包含数千个项目的 XML 文件:
<item component="ComponentInfo{www.jne.co.id/www.jne.co.id.JNEwelcome}" drawable="app_jneexpressacrossnations_www_jne_co_id"/>
<item component="ComponentInfo{xeed.xposed.cbppmod/xeed.xposed.cbppmod.Launch}" drawable="app_pbmc_xeed_xposed_cbppmod"/>
<item component="ComponentInfo{xeed.xposed.cbppmod/xeed.xposed.cbppmod.Launcher}" drawable="app_pbmc_xeed_xposed_cbppmod"/>
<item component="ComponentInfo{yong.app.music.android/org.kreed.vanilla.LibraryActivity}" drawable="app_music_yong_app_music_android"/>
<item component="ComponentInfo{yqtrack.app/yqtrack.ui.splash.SplashActivity}" drawable="app_17track_yqtrack_app"/>
<item component="ComponentInfo{yqtrack.app/yqtrack.app.activities.SplashActivity}" drawable="app_17track_yqtrack_app"/>
<item component="ComponentInfo{yqtrack.app/yqtrack.app.UserInterface.Splash.SplashActivity}" drawable="app_17track_yqtrack_app"/>
<item component="ComponentInfo{yuku.alkitab/yuku.alkitab.base.IsiActivity}" drawable="app_alkitab_yuku_alkitab"/>
但我需要所有项目的结果:
<item drawable="app_jneexpressacrossnations_www_jne_co_id"/>
<item drawable="app_pbmc_xeed_xposed_cbppmod"/>
<item drawable="app_pbmc_xeed_xposed_cbppmod"/>
<item drawable="app_music_yong_app_music_android"/>
<item drawable="app_17track_yqtrack_app"/>
<item drawable="app_17track_yqtrack_app"/>
<item drawable="app_17track_yqtrack_app"/>
<item drawable="app_alkitab_yuku_alkitab"/>
我尝试使用正则表达式执行此操作,但无法弄清楚。如何在 Notepad++ 中实现此操作?