Please refer below code.
C#
Session["RmaNum"] = "RMA123";
string strUrl = String.Format("<a href='https://admin.modernroboticsinc.com/RmaMaintenanceCust.aspx?r={0}&Reg={1}'>{0}</a>", Session["RmaNum"], 12);
txtEmailBody.Text = txtEmailBody.Text.Replace("[CustLink]", strUrl);
VB
Session("RmaNum") = "RMA123"
Dim strUrl As String = [String].Format("<a href='https://admin.modernroboticsinc.com/RmaMaintenanceCust.aspx?r={0}&Reg={1}'>{0}</a>", Session("RmaNum"), 12)
txtEmailBody.Text = txtEmailBody.Text.Replace("[CustLink]", strUrl)
I hope this will help you out.