re = /\b(?:LOTS?|LTS?) (\w+(?:(?:\s*[-,&])+\s*\w+)*)\b/m
str = 'LT 75 CEDAR WOOD 3RD PL
LTS 22,25 & 26 MULLINS CORNER
LTS 7 & 8
PT LT 22-23 JEFFERSON HIGHLANDS EXTENSION
LTS 22, 25, & 26
LOTS 151, 162, & 164 PL 10-137 5 WILSON ST
LOTS 2A & 3B JACKSON HILL
'
# Print the match result
str.scan(re) do |match|
puts match.to_s
end
Please keep in mind that these code samples are automatically generated and are not guaranteed to work. If you find any syntax errors, feel free to submit a bug report. For a full regex reference for Ruby, please visit: http://ruby-doc.org/core-2.2.0/Regexp.html