!7 p { S page = loadPage("https://en.wikipedia.org/wiki/Glossary_of_chemistry_terms?action=raw"); for (S line : lines(page)) { L l = regexpFirstGroups(regexpQuote("*'''[[") + "(.+?)" + regexpQuote("]]'''"), line); if (nempty(l)) { S term = dropStuffBeforeVerticalBar(first(l)), def = second(l); print("Term found: " + quote(term) + " - " + quote(def)); } } }