It’s worth noting that you can use
-
String.replace(string, regex, replacement)
, -
String.split(string, regex)
, and String.match?(string, regex)
instead of the equivalent Regex
functions.
It’s worth noting that you can use
String.replace(string, regex, replacement)
,String.split(string, regex)
, andString.match?(string, regex)
instead of the equivalent Regex
functions.