我在每行和我想要的文本之前有一些垃圾
eernnawer love.pdf
nawewera man.pdf
awettt sup.pdf
Run Code Online (Sandbox Code Playgroud)
我想做一个查找和替换得到
love.pdf
man.pdf
sup.pdf
Run Code Online (Sandbox Code Playgroud)
我怎样才能做到这一点?谢谢
如果我安装了Netbeans,如何使用Notepad ++运行程序?我不想使用IDE,所以我可以更好地编程.
有谁知道如何让我的 Notepad++ 读取 Opencart 的 tpl 文件。我已经进入设置/样式配置并将 .tpl 扩展名添加到 html 和 PHP,它们都不起作用。
有什么建议
我刚刚发生了一个非常奇怪的问题.当我编辑样式表并保存它(使用ftp filezilla)并使用Ctrl-f5刷新页面时,样式没有变化.
当我创建一个新的样式表并将"not working"样式表中的代码复制到那里并使用新名称保存时,它可以正常工作.但是当我编辑样式表时,会出现同样的问题.
我真的不知道问题是什么.
我用
我正在使用 Notepad++,但我无法弄清楚。
我有很多行文本,我需要,0x))在每一行的末尾添加。
我尝试了以下提示
$在“查找内容”栏,并,0x))在“替换为”现场。但只是,0x被添加到每行的末尾。
我的文件包含 2000 多个摘要,其中包含 18000 多个句子,以 tag 开头并以 tag 结尾。我想使用notepad++查找信息,我的文件视图如下:
<abstract>
<sentence>Activationofthe<conslex="CD28_surface_receptor"sem="G#protein_family_or_group"><conslex="CD28"sem="G#protein_molecule">CD28</cons>surfacereceptor</cons>providesamajorcostimulatorysignalfor<conslex="T_cell_activation"sem="G#other_name">Tcellactivation</cons>resultinginenhancedproductionof<conslex="interleukin-2"sem="G#protein_molecule">interleukin-2</cons>(<conslex="IL-2"sem="G#protein_molecule">IL-2</cons>)and<conslex="cell_proliferation"sem="G#other_name">cellproliferation</cons>.</sentence>
<sentence>In<conslex="primary_T_lymphocyte"sem="G#cell_type">primaryTlymphocytes</cons>weshowthat<conslex="CD28"sem="G#protein_molecule">CD28</cons>ligationleadstotherapidintracellularformationof<conslex="reactive_oxygen_intermediate"sem="G#inorganic">reactiveoxygenintermediates</cons>(<conslex="ROI"sem="G#inorganic">ROIs</cons>)whicharerequiredfor<conslex="CD28-mediated_activation"sem="G#other_name"><conslex="CD28"sem="G#protein_molecule">CD28</cons>-mediatedactivation</cons>ofthe<conslex="NF-kappa_B"sem="G#protein_molecule">NF-kappaB</cons>/<conslex="CD28-responsive_complex"sem="G#protein_complex"><conslex="CD28"sem="G#protein_molecule">CD28</cons>-responsivecomplex</cons>and<conslex="IL-2_expression"sem="G#other_name"><conslex="IL-2"sem="G#protein_molecule">IL-2</cons>expression</cons>.</sentence>
<sentence>Delineationofthe<conslex="CD28_signaling_cascade"sem="G#other_name"><conslex="CD28"sem="G#protein_molecule">CD28</cons>signalingcascade</cons>wasfoundtoinvolve<conslex="protein_tyrosine_kinase_activity"sem="G#other_name"><conslex="protein_tyrosine_kinase"sem="G#protein_family_or_group">proteintyrosinekinase</cons>activity</cons>,followedbytheactivationof<conslex="phospholipase_A2"sem="G#protein_molecule">phospholipaseA2</cons>and<conslex="5-lipoxygenase"sem="G#protein_molecule">5-lipoxygenase</cons>.</sentence>
<sentence>Ourdatasuggestthat<conslex="lipoxygenase_metabolite"sem="G#protein_family_or_group"><conslex="lipoxygenase"sem="G#protein_molecule">lipoxygenase</cons>metabolites</cons>activate<conslex="ROI_formation"sem="G#other_name"><conslex="ROI"sem="G#inorganic">ROI</cons>formation</cons>whichtheninduce<conslex="IL-2"sem="G#protein_molecule">IL-2</cons>expressionvia<conslex="NF-kappa_B_activation"sem="G#other_name"><conslex="NF-kappa_B"sem="G#protein_molecule">NF-kappaB</cons>activation</cons>.</sentence>
<sentence>Thesefindingsshouldbeusefulfor<conslex="therapeutic_strategies"sem="G#other_name">therapeuticstrategies</cons>andthedevelopmentof<conslex="immunosuppressants"sem="G#other_name">immunosuppressants</cons>targetingthe<conslex="CD28_costimulatory_pathway"sem="G#other_name"><conslex="CD28"sem="G#protein_molecule">CD28</cons>costimulatorypathway</cons>.</sentence>
</abstract>
Run Code Online (Sandbox Code Playgroud)
我想提取引号之间的文本,或者换句话说,想要删除所有数据,除了整个文本中的双引号,例如我想要的输出是这样的
CD28_surface_receptor G#protein_family_or_group CD28 G#protein_molecule
primary_T_lymphocyte G#cell_type
Run Code Online (Sandbox Code Playgroud)
我.*"(.*)".*在Find What 中使用,然后\1通过替换全部替换为。它只从每行的最后提取了带有引号的文本,但我想从所有文档和每一行中提取,因为我的文件中有更多带有双引号的字符串。
我有一个文本文件要处理,有很多这样的行:
000AA 西尔维斯特史泰龙
000AD黛米摩尔
我会为每个单词添加一个单引号,如下所示:
《000AA》《西尔维斯特》《史泰龙》
'000AD' '黛咪' '摩尔'
我想最好的(也许是唯一的方法?)是使用 notepadd++ find/replace with regex,但不幸的是我没有足够的知识。请问,有人可以帮我吗?这将是一个巨大的节省时间的帮助!!
需要使用正则表达式替换/删除记事本++中的多次出现。下面是一个例子:
....
something<item>text to be removed or replaced</item>
text<item>another text to be
removed or replaced</item>
<item>more text to be removed or
replaced</item>
...
Run Code Online (Sandbox Code Playgroud)
我需要替换/删除"<item>"和之间的所有内容"</item>",匹配可能包括一个新行。
所以我最终会得到这样的结果:
....
something<item></item>
text<item></item>
<item></item>
...
Run Code Online (Sandbox Code Playgroud) 当括号/括号未关闭时,或者如果括号未关闭但未打开时,包括嵌套(使用记事本++正则表达式搜索),我想进行匹配。
例如 :
[Text] (好)
[Text (不好)
Text] (不好)
[Text (test] (不好)
[Text test)] (不好)
[Text (test)] (好)
如果我可以对{和}执行相同的操作,那可能会很好。
你能帮我吗?
谢谢 !