[Sun's Regular Expression Tutorial for Java|http://java.sun.com/docs/books/tutorial/extra/regex/index.html]
String str = "is this a test? Yes, it is a test. It certainly is."; str = str.replaceAll("\\bis\\b", "was"); System.out.println(str); was this a test? Yes, it was a test. It certainly was.
vveena wrote:That's one question, maybe even two.
can u plz help me in how to take nos from console
and stop when 0 is enteredThere's another.
and calculate smallest even and largets odd number.There's at least two more.