Online Java replaceFirst() function

replaceFirst - Replaces the first occurrence of a substring that matches the given regular expression with the given replacement


Run on Java version: