title: Regular Expression to match href link and replace it by a <b> </b>
body: <p>I'm trying to make something pretty simple, but I simply suck at regular expressions.</p>
  
  <p>My goal is to replace :</p>
  
  <pre><code>&lt;a href="http://www.google.com"&gt;Link To Google&lt;/a&gt;
  </code></pre>
  
  <p>To :</p>
  
  <pre><code>&lt;b&gt;Link To Google&lt;/b&gt;
  </code></pre>
  
  <p>In java.</p>
  
  <p>I tried this :</p>
  
  <pre><code>String input = "&lt;a href=\"http://www.google.com\"&gt;Link to Google&lt;/a&gt;";
  String Regex1 = "&lt;a href(.*)&gt;";
  String Regex2 = "&lt;/a&gt;";
  String output = test.replace(Regex1, "&lt;b&gt;");
  output = test.replace(Regex2, "&lt;/b&gt;");
  </code></pre>
  
  <p>But the first Regex1 is not matched with my input. Any clue ?</p>
  
  <p>Thanks in advance!</p>