Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java string regexp replace

String input = "abcd";
Pattern p = Pattern.compile("regexp");
String output = p.matcher(input).replaceAll("replacement");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #string #regexp #replace
ADD COMMENT
Topic
Name
1+4 =