I have strings that have blocks enclosed in underscores in them. Example:
*Text* _word_ it is something we read every day. _Words in texts_ can be really exp
The text between the second last _ and the end of the string should be matched
Use a negated character class, like
([^.]*$)
It will match everything from the end of the string that isn't ., resulting in the last quote (assuming each quote ends with a .)
.
http://regex101.com/r/fA3pI7/1