title: Add a char to the start of each line in JavaScript using regular expression
body: <p>How can I use the <code>replace</code> function to add a single character to each line in JavaScript using a regular expression?</p>