in reply to Take last instance of a string
What have you tried? What docs have you read?
We're here to help you learn; NOT to write your code.
In the interest of learning, however, see the Tutorials re regular expressions.
Alternately (and a very bad plan, usually), capture all the desired phrases to the end of the file (into an array) and then select the last element of the array. (But, again, you'll need to study regexen.).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Take last instance of a string
by porsche5k (Novice) on Aug 30, 2016 at 17:35 UTC | |
by hippo (Archbishop) on Aug 30, 2016 at 17:40 UTC |