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-100323now with regex i use this command to clean my document:
find:in=.*.
replace:emptythen:
find:?
replace:emptyi 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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login