Inserting new text based on format of existing text
I would like the macro to convert the following given text
Given text Part1 PartA Part2 PartB PartE**/
Convert the above text into these
Mytext1 Part1 + “and” + Part2
Mytext2 PartA + “and” + PartB
Mytext3 PartA + “and” + PartB
Mytext4 PartE
Where the start of the given text is cursor position and end of Given text is market **/
Part1, Part2 are non-underlined text that can be multiple paragraphs, or fraction of line. i.e they can have any format except underlined
PartA, PartB etc. are single underlined text
PartE is end text between ** **
|