From http://www.w3schools.com (Copyright Refsnes Data)
Complete RegExp Object Reference
The leftContext property is the substring in front of the characters most recently matched.
This property contains everything from the string from before the match.
| RegExp.leftContext |
ExampleIn the following example we will see the text from the string in front of the last match:
Try it yourself » |
Complete RegExp Object Reference
From http://www.w3schools.com (Copyright Refsnes Data)