How can I replace a word in a string to make it clickable
<p>How can I replace a word in a string  and make it hyperlink..
For example : 
              This is a car.
I want to replace it with,<br>
               This is  a <a href="http://car" rel="nofollow">car</a>.  </p>

<p>I am using </p>

<pre><code> str.replaceAll("car", "&lt;a href=\"\"&gt;$1&lt;/a&gt;" );
</code></pre>

<p>Is it correct regularexpression to make it hyperlink or not?
Thank you..</p>
