I am new to
java(atleast am new to
pattern matching).
I want to search a
string for a pattern - that is <a href > tag and if its present then make sure that
href - has http:// in it target - should be specified and should be set to blank
Strings to be searched =
<a href="anydotcom site" target="_blank">
<a href="http://anydotcom site">
To be replaced by
<a href="
http://andotcomsite"
target="_blank">
Any suggestions how to do it.