Generation

regexWed, 30 Nov 2022

In lua match everything after "<c>" up to the first "<r>" from the string "1<c>images_image_1_1583542324_1583_packshot_1_jpg_products<r>2<c>images_image_2_1583542324_1583_packshot_2_jpg_products<r>"

[[string.gsub(line, '<r>.*', '')]]

Questions about programming?Chat with your personal AI assistant