Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Macro Reference

EmEditor Macro Reference: Matches Collection

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

Matches Collection

Matches collection provides a collection of Match objects for regular expression search results. The collection consists of the first item as the whole matched item (backreference 0), and submatches (backreferences 1, 2, 3, ...).



Retrieves the number of Match objects.


Retrieves the Match object for the specified index. Item(0) returns the whole matched item (backreference 0), Item(1) returns backreference 1.


Supported on EmEditor Professional Version 15.9 or later.

Copyright © 2003-2021 by Emurasoft, Inc.