Hi guys, i need help with this
![A message box displays an email requesting the reactivation of an expired insurance policy, mentioning financial difficulties and an invalid recipient address error.
I had used this for the email body to be in the same line not different lines:
but even then it’s showing some spaces and i wanted no spaces in between the texts
arivu96
(Arivazhagan A)
March 19, 2025, 1:31pm
2
Try below
Emailbody_SP = System.Text.RegularExpressions.Regex.Replace(Email_sp, "\r\n?|\n", " ")
Regards,
Arivu
1 Like
lrtetala
(Lakshman Reddy)
March 19, 2025, 1:39pm
3
Hi @Anelisa_Bolosha1
Can you try this
Emailbody_sp = System.Text.RegularExpressions.Regex.Replace(Emailbody_sp,"\s{3, }", " ")
Regards,
1 Like
Thank so much this did the trick
system
(system)
Closed
March 23, 2025, 10:36am
5
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.