title: Replace markdown characters with regex
body: <p>I have the following object:</p>
  
  <pre><code>{
      "_id": "59f6f931d20f73000410bbd8",
      "title": "Test",
      "salary": "1337",
      "maxSalary": "4000",
      "minSalary": "1500",
      "introText": "Lorem __Ipsum__ Sit Dolor Amet",
      "expectText": "Lorem Ipsum Sit _Dolor__ Amet Est __Circa__."
  }
  </code></pre>
  
  <p>In my Vue.js app I implemented <code>vue-markdown</code> to render the markdown to display bold and cursive words.</p>
  
  <p>What I now have to implement is, to parse the object for every __word __ and replace it with regex to word .</p>
  
  <p>What I got so far:</p>
  
  <pre><code>let objJson = JSON.stringify(obj);
  objJson = objJson.replace(/\_/g, '');
  let jobXML = JSON.parse(objJson);
  res.send(jobXML);
  </code></pre>
  
  <p>So this is my workaround to delete the "__" characters but I did not find any other resource which explains how to replace it with my HTML entity.</p>
  
  <p>My workaround is needed because I use <code>/jobs</code> to display all the jobs in my vue app (which can use markdown), but I have also another express route that can not use "__" but needs the HTMl entities.</p>