Skip to content

regexpi

Match a regular expression against a string (case-insensitive).

k = regexpi(str, expr)

Like regexp but case-insensitive. Same restriction: only the basic 2-argument form is currently supported.

regexpi('Foo bar', 'FOO') % 1
  • regexp — Match a regular expression against a string.
  • strfind — Find one string within another.