Thanks Paul. The code works fine for my 2nd point.
But I am not able to achieve my 1st point.
Previously, I searched for first line to be any character other than alphanumerics or tilde.
Now, after your recent code that does its magic
, I am checking if the first character of each line is bold, then move to next line and if not add that line to the previous line, so that the words synonyms are in 1 single line and not multiple ones, as in the attachment.
Please help on this and you can see the code that I use in Sub joinLines().
Cheers....