How do I merge two or more consecutive lines into one?
Is it possible to merge
table TAB tisch
table TAB tabelle
table TAB tisch, tabelle
The word order on the right hand side of the TAB is not important: “tisch, tabelle” , “tabelle, tisch”. All words are lowercase. There may be more than one words on the both hand sides (e.g. security guard TAB wachman).
Thanks in advance!
No, Vasile, it works!
Here is my screenshot! :)
By the way, this “Snaggy” website is cool! Posting a screenshot couldn’t indeed be easier! I have bookmarked it! Thank you! :)
And finally, I find it a silly practice that new users have to wait for 1200 seconds in order for them to submit their second post!
Ah, yes ! Quite weird ! From your print screen pictures, everything seems OK : We, both, have the same fields and options and, from the status bar, our encoding and line breaks are also identical !!??
Moreover, I verified that the Glossar's text, inserted in your new tab, does have the same displaying than my text ! This implies that you correctly inserted the tabulation characters ( of 4 spaces characters, by default, like me ) !!??
So, the only thing that could explain the search failure should be, that you, probably, inserted some invisible character(s) in the search regex ?
But, I must admit that I’m really annoyed to not being able to point out the true reason of your N++'s search behaviour !
See you later…
Glossar, just see your reply to Vasile. Quite pleased that it works as expected, on your configuration !
BTW, some of us may could test my regex ? May be, it will help us to identify the problem :-)
One more point, Vasile, which N++ version are you using ?
hello. I am using v7.1, no update available.
But, I had an error yesterday morning, something when N++ had to update Plugin Manager and a Npp plugin, don’t remember very well. I will restart the computer tomorow, and I will test again.
no, after restart nothing change. And I installed the v.722, ant still doesn’t work. What a bug is this?
Click THREE times, on the Replace All button, till the message Replace All: 0 occurrences were replaced is displayed, in blue, at the bottom of the Replace dialog
Out of curiosity I tried it, and found that I had to press Replace All only TWO times to get a complete replacement on these three groupings of text. The first press of Replace All does the first and third sets of data; the second press does the second set. However, in the end, it changed the data as expected.
Hi, Scott, glossar and vasile,
Yes, Scott, two times are enough, indeed !. However, I replied to glossar for the general case where you do not know, exactly, what is the maximum of lines with “identical beginnings”, because of a huge file, for instance !
In that case, it’s better to click on the Replace All button till the message 0 occurrences were replaced appears ! Indeed, as long as yon obtain the message
Nocccurrences were replaced, with
N > 0, you cannot guess that no more occurrence has to be replaced, the next time :-))
I press 50 times “Replace all”, and nothing happen. There is a bug somewhere…
this is working fine !
hello guy38, and all friends. Maybe you can improve my regex to resolve the solution (other way).
So, the regex below will bind (merge) all the sentences into one. The problem is that is not cut the words that repeats.
there will be another good solution, that works: