How to remove line breaks in Word?

Hi All,

Could someone help me how to remove the line breaks between Test 1, 2, 3?


read text, replace all linebreaks with β€œβ€ if you want Test1Test2Test3 or all pairs of linebreaks with a single linebreak if you want

Line break is usually showed as β€œ\r\n”

1 Like

Sorry, I can’t follow.

Could you share an xaml file so I can understand? Or just put the codes here?