About 218,000 results
Open links in new tab
  1. Regular Expressions - MATLAB & Simulink - MathWorks

    There are four MATLAB ® functions that support searching and replacing characters using regular expressions. The first three are similar in the input values they accept and the output values …

  2. regexp - Match regular expression (case sensitive) - MATLAB

    This MATLAB function returns the starting index of each substring of str that matches the character patterns specified by the regular expression.

  3. regexpPattern - Pattern that matches specified regular expression

    Use regexpPattern to specify patterns using regular expressions that can be used as inputs for text-searching functions. Find words that start with c, end with t, and contain one or more …

  4. regexprep - Replace text using regular expression - MATLAB

    Regular expression, specified as a character vector, a cell array of character vectors, or a string array. Each expression can contain characters, metacharacters, operators, tokens, and flags …

  5. Dynamic Regular Expressions - MATLAB & Simulink - MathWorks

    Use dynamic expressions to make the regexp pattern dependent on the content of the input text or in replacement terms for the regexprep function.

  6. Tokens in Regular Expressions - MATLAB & Simulink - MathWorks

    The example shown here executes regexp on a character vector specifying the path returned from the MATLAB ® tempdir function. The regular expression expr includes six token specifiers, …

  7. regexptranslate - Translate text into regular expression - MATLAB

    To match strings with a regular expression, specify '*.mat' as the regular expression. Then translate the wildcard character, '*', using the regexptranslate function.

  8. Lookahead Assertions in Regular Expressions - MATLAB

    There are two types of lookaround assertions for regular expressions: lookahead and lookbehind. In both cases, the assertion is a condition that must be satisfied to return a match to the …

  9. Learning to Love Regular Expressions » Loren on the Art of …

    Oct 18, 2012 · Regular expressions are found in text editors and in a range of languages including Perl, Java, Ruby, and of course, MATLAB. In this post, I am going to focus on the function …

  10. Interactive Regular Expression Tool - File Exchange - MATLAB …

    Apr 29, 2025 · Develop and refine regular expressions in an interactive figure that shows all of REGEXP's outputs.