I want to scrape data from some text and dump it into an array. Consider the following text as example data:
| Example Data | Title: This is a sample title |
You could change it to:
/: (.+)/
and grab the contents of group 1. A lookbehind works too, though, and does just what you're asking:
/(?<=: ).+/