I have a complex string with an unknown number of letters, numbers, and characters. For instance
"a83bal*av31-ab+asf3/af1124-xxx.afe-100/araw31/31*xxx.g41.abt.eta+131as*dfa"
The goal is to find the string xxx and extract everything after it until a +, -, * , /. Thus I should be able to extract xxx.afe and xxx.g41.abt.eta Finding the string is simple string:find("xxx") the trouble I am having is gathering all of the information following the "xxx" until one of the operators. I have tried things like
string:match("xxx.(.+[%+%-%*%/])")
and several variations of the above, but there is something I am missing.