Pattern Property (Regex Object)¶
Sets or retrieves the regular expression pattern. Supported on EmEditor Professional Version 15.9 or later.¶
[JavaScript]¶
s = reg.Pattern;
reg.Pattern = s;
[VBScript]¶
s = reg.Pattern
reg.Pattern = s
Version¶
Macro Reference — Regex Object — Pattern Property (Regex Object)