title: Split Lines and Bold Text within a ui.alert Window in Google Apps Script
body: <p>I feel like this should be pretty simple, but I can't find anything about it. I want my message that pops up in a ui.alert window to bold certain words and split a string at <code>,</code> into new lines. Here is the code I have:</p>
  
  <pre><code>function send(){
    var ui = SpreadsheetApp.getUi();
    var bccSend = SpreadsheetApp.getActiveSpreadsheet().getSheetByName('main_gen').getRange(2,2).getValue(); //value example is xxx@gmail.com, yyy@gmail.com
    var bccSendReplace = bccSend.toString().replace(/,/g,"&lt;br&gt;");
    var response = ui.alert('You are about to send this to the following email address(es): \n\n' + bccSendReplace + '\n\n Click OK to send, otherwise, close this box or click Cancel to abort.', ui.ButtonSet.OK_CANCEL);
  }
  </code></pre>
  
  <p>The <code>bccSendReplace</code> is what I want to parse at commas into new lines. Instead, the code just replaces the comma with <code>&lt;br&gt;</code>. I would also like all text within <code>bccSendReplace</code> to be bold. Any ideas? Thanks!</p>