Regular Expressions JavaScript Tutorial

The leftContext property represents the substring preceding the most recent pattern match.