2 Replies Latest reply on Oct 5, 2009 10:53 AM by 807580

    Replacing a String

      HI All.
      I have a String like this : "voowel"
      Now i want to replace the every vowel with a "T"
      Iam using this piece of code:
      input3 ="Voowels";
      String regex1 = "[aeiou]+";
      input3 = input3.replaceAll(regex1,"T");
      Output is: VTwTls
      But i want the output as ::

      Can any body help me please.