help to clean document
-
hi there,
from multi line document like this:ZmVjdGVkdf44XNob3cta/G9zdGVkLWJ5-LXNhbS1kaXZpbmU-240323?in=defectsets/dewect" primary sc-font-light">guess - 24.03.21</a> 9udC1saWdodCI+RGVmZWN0ZWQg_mFkaW8gU2hvdyBIb3N0ZW-170323?in=decords/sets/defec-trackTitle2MtZ-class="trackItem 17.03.23</a> VmZW345des435ggfWQg_mFkaW8gU2h-show-host-alsthej-100323?in=records/sems/deeds2-wdrfgse-raxo" class="trackItem_2>
i need to clean to have this one:
ZmVjdGVkdf44XNob3cta/G9zdGVkLWJ5-LXNhbS1kaXZpbmU-240323 9udC1saWdodCI+RGVmZWN0ZWQg_mFkaW8gU2hvdyBIb3N0ZW-170323 VmZW345des435ggfWQg_mFkaW8gU2h-show-host-alsthej-100323
now with regex i use this command to clean my document:
find:in=.*.
replace:empty
then:
find:?
replace:empty
i need 2 steps because with
?in=.*.
np++ recognizes?
as variable and not just as text
so, is there a way to delete all values from?
to the end of line ? -
@pinuzzu99 said in help to clean document:
ZmVjdGVkdf44XNob3cta/G9zdGVkLWJ5-LXNhbS1kaXZpbmU-240323?in=defectsets/dewect" primary sc-font-light">guess - 24.03.21</a>
9udC1saWdodCI+RGVmZWN0ZWQg_mFkaW8gU2hvdyBIb3N0ZW-170323?in=decords/sets/defec-trackTitle2MtZ-class=“trackItem 17.03.23</a>
VmZW345des435ggfWQg_mFkaW8gU2h-show-host-alsthej-100323?in=records/sems/deeds2-wdrfgse-raxo” class="trackItem_2>To search literally for
?
, you must escape it, like:\?in=.*
-
oh yes, it work fine.
thank you for replyRegards