Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Macro Reference

EmEditor Macro Reference: Regex Object

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - EmEditor Macro Reference

Regex Object

Properties

Engine

Sets or retrieves the type of the regular expression engine.

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.

Copyright © 2003-2016 by Emurasoft, Inc.