In my regular expression I use a lookahead and lookbehind to match anything between the words "join" and "on".
This I have done using ..
file_out1 = File.open('regex1_output1b.txt','w')
line = line.scan(/(?<=\sjoin\s).*(?=on)/i)
However - I also want to include any lines from my "SCHEMA.txt" file where the line starts with "create".
How can I do this?