8.2.57.22 string.regexprep ¶
- Method:
out =
regexprep (obj, pat, repstr)
¶
- Method:
out =
regexprep (…, varargin)
¶
-
Replace based on regular expression matching.
Replaces all the substrings matching a given regexp pattern pat with
the given replacement text repstr.
Returns a string array of the same size as obj.