string str = "zhangsan";Regex regex = new Regex("^\\.+" + str);
String s="sfsfsafasfas";s.replace("s","");