J
J. VerSchave
I am trying to do this using regular expressions in Java:
replace
http://whatever.com
with
<a href="http://whatever.com">http://whatever.com</a>
This URL is embedded within a String, i.e.:
String buffer = "The other I came across http://whatever.com. It is
cool.";
I want to perform some operation on this buffer and have the result
be:
"The other I came across <a
href="http://whatever.com">http://whatever.com</a>. It is cool."
Seems like this should be easy to do but I have been unsuccessful thus
far in finding a solution. Thanks.
-j
replace
http://whatever.com
with
<a href="http://whatever.com">http://whatever.com</a>
This URL is embedded within a String, i.e.:
String buffer = "The other I came across http://whatever.com. It is
cool.";
I want to perform some operation on this buffer and have the result
be:
"The other I came across <a
href="http://whatever.com">http://whatever.com</a>. It is cool."
Seems like this should be easy to do but I have been unsuccessful thus
far in finding a solution. Thanks.
-j