Match and remove first linebreak from string

Seems like I was a little too late.

Fantastic solutions by @Mr_JDavey though!

I’ll just leave what I’ve found here in case you are interested:

image

System.Text.RegularExpressions.Regex.Replace(str_txtData,"(?<=^.*)\r?\n"," ")

Kind Regards,
Ashwin A.K

2 Likes