Macro Reference — Regex Object

# Regex Object

## Properties

Engine | Sets or retrieves the type of the regular expression engine.
Fuzzy | Sets or retrieves the fuzzy matching flag.
Global | Sets or retrieves the global flag.
IgnoreCase | Sets or retrieves whether the regular expression ignores cases.
OnlyWord | Sets or retrieves whether the regular expression matches only whole words.
Pattern | Sets or retrieves the regular expression pattern.
SeparateCrLf | Sets or retrieves whether the regular expression treats CR and LF separately.

## Methods

Find | Searches the specified string for the regular expression and returns a Match object if a match is found.
Replace | Searches the specified string for the regular expression and replace with the specified string.
Test | Tests the regular expression is successfully matched against the specified string.

## Version

Supported on EmEditor Professional Version 15.9 or later.