Still in awe of chatgpt. This prompt WORKS: write a ruby script using nokogiri to read an XML file and extract all the "note" objects, filtered by ones that have a subtag "title" matching the regex /^Piano/, output text of "title"