I just want to save the text between two specific points in a line into a variable. The text will look like this:
..."content"=>"The text I want to save to a variable"}]...
I assume that I will have to use scan or slice, but not quite exactly how to pull only text without capturing RegEx identifiers before and after the text. I tried this, but this did not work:
var = mystring.slice(/\"content\"\=\>\".\"/)
source share