Plug-in Reference — Messages — EE_FIND_REGEX

# EE_FIND_REGEX

Searches a string for a regular expression. You can send this message explicitly or use the Editor_FindRegex inline function.

    EE_FIND_REGEX
    wParam = 0;
    lParam = (LPARAM) (FIND_REGEX_INFO_EX*) pFindRegexInfo;

## Parameters

pFindRegexInfo

Pointer to the FIND_REGEX_INFO_EX structure or FIND_REGEX_INFO structure.

## Return Values

If a string that matches the specified regular expression is found, the return value is TRUE. If the specified regular expression is not found, the return value is FALSE. If the regular expression has a syntax error or another fatal error occurs, the return value is -1.

## Version

Supported on Version 6.00 or later.