Java String Substritute substituteAll(String regexp, String subst, String target)

Here you can find the source of substituteAll(String regexp, String subst, String target)

Description

substitute All

License

Open Source License

Declaration

static public String substituteAll(String regexp, String subst, String target) 

Method Source Code

//package com.java2s;
/*/*from  ww w.ja v a  2 s  .  c o  m*/
 * Copyright 2000-2011 Enonic AS
 * http://www.enonic.com/license
 */

public class Main {
    static public String substituteAll(String regexp, String subst, String target) {
        return target.replaceAll(regexp, subst);
    }
}

Related

  1. substitute(String str, String variable, String value, int num)
  2. substitute(String string, String pattern, String replacement)
  3. substitute(String strSource, String strValue, String strBookmark)
  4. substitute(String template, String[] values)
  5. substitute(String txt, String pattern, String sub)
  6. substituteBlanks(String s, String subst)
  7. substituteCommandLine(String[] parsedCommandLine, String file1Name, String file2Name, String display1, String display2)
  8. substituteEnvironmentVariables(String str, String prefix, String suffix)
  9. substituteHex(String aString)