|
|
This function replaces the first substring matching the givenĀ regular expression with the given replacement. |
replaceFirst(text, regexp, replacement) #Output : Text |
|
Parameters used in this function
|
This function returns a |
If you want to replace all matching occurrences with the replacement, have a look at theĀ replaceAll() function.
|