title: How to modify part of the string of react state
body: <ol>
  <li><p>I have a state named train.</p></li>
  <li><p>I get the JSON file from an API and use <code>this.setState({train: json})</code> to set the JSON file to the <code>state.train</code>.</p></li>
  <li><p>In the state train, there are <code>route_name</code> and <code>advisory_message</code>:</p>
  
  <pre><code>{
  "route_name": "Warminster",
  "advisory_message": "&lt;div class=\"fares_container\"&gt;\n\t\t\t\t &lt;p&gt;Customers should review the service information below as trains operating to Center City and continuing to Airport Terminals will depart &lt;strong&gt;EARLIER &lt;\/strong&gt;than regularly scheduled at &lt;strong&gt;Warminster, Hatboro, Crestmont, Roslyn, Ardsley, Glenside, and Jenkintown-Wyncote stations&lt;\/strong&gt;.&lt;\/p&gt;\n&lt;p&gt;&lt;span style=\"font-size: small;\"&gt;&lt;strong&gt;Inbound (toward Center City) Service:&lt;\/strong&gt;&lt;\/span&gt;&lt;\/p&gt;\n&lt;p&gt;Download the &lt;a title=\"\/alert\/pdf\/2017-11-war-inbound-timetable.pdf\" href=\"\/alert\/pdf\/2017-11-war-inbound-timetable.pdf\" target=\"_blank\"&gt;PDF Sunday, October 29th Warminster timetable&lt;\/a&gt; or click on the image below to enlarge.&lt;\/p&gt;\n&lt;p&gt;&lt;a title=\"INBOUND (toward Center City and continuing to Airport Terminals October 29, 2017 timetable\" href=\"\/alert\/images\/2017-10-war-sunday-inbound.jpg\" target=\"_blank\"&gt;&lt;img src=\"\/alert\/images\/2017-10-war-sunday-inbound.jpg\" alt=\"INBOUND (toward Center City and continuing to Airport Terminals October 29, 2017 timetable\" width=\"725\" height=\"224\" \/&gt;&lt;\/a&gt;&lt;\/p&gt;\n&lt;ul&gt;\n&lt;\/ul&gt;\n&lt;p&gt;AM Trains &lt;strong&gt;#403, #405, and #407&lt;\/strong&gt; will depart Glenside Station at the regularly scheduled times&lt;\/p&gt;\n&lt;ul&gt;\n&lt;\/ul&gt;\n&lt;&lt;\/div&gt;"
  }
  </code></pre></li>
  </ol>
  
  <p>How could I change part of the <code>advisory_message</code> value? For example, change the href?</p>
  
  <p>Thank you so much.</p>