In this line of code, I want it to match the line from "Viewing notes \ 50optional \ 51" to the end of the text file. How can i do this?
reviewNotes = contents.match(/Review Notes \50optional\51\n==================(.*?)/m)[1].strip
Review Notes \50optional\51.*$
if subject =~ /Review Notes \\50optional\\51.*\z/m match = $& else match = "" end