FUNCTION REFERENCE

regexptranslate

Escape regular-expression metacharacters or translate wildcards.

Escape regular-expression metacharacters or translate wildcards.

Syntax

result = regexptranslate('escape'|'wildcard', textOrCells)

Example

regexptranslate('wildcard','*.m')   % .*\.m

Differences from MATLAB: Only escape and wildcard modes are supported.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.