Here you can find the source of substituteAll(String regexp, String subst, String target)
static public String substituteAll(String regexp, String subst, String target)
//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); } }