Copyright © tutorialspoint.com
Syntax
Definition and UsageNot a function. This is the regular expression-substitution operator. Based on the regular expression specified in PATTERN, data is replaced by REPLACE. Like m//, the delimiters are defined by the first character following s. Return Value
Example
It will produce following results:
|
Copyright © tutorialspoint.com