Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEAI would have had this done an hour ago, but I was trying to figure out why I was getting the "wrong" answer.
I took this challenge to practice some REGEX to separate the fields.
Parse: (.*?)\+\s(\*?)\s(.*?)\+\s(\/?)\s(.*?)\+\s{2}(\+?)\s(.*?)\+\s(\-?)\s(.*)\+
Installed custom functions to try fromRoman() . More details here : https://community.alteryx.com/t5/Engine-Works-Blog/An-Overview-of-the-Alteryx-Abacus-Add-In/ba-p/398...
This is a good example for 'find and replace' and 'dynamic replace'.
I too got a weird number doing things in the correct order of operations.
Without additional information, I am going to say the PEMDAS answer is correct, which is what I tie to.
Challenge #183 solved!
Good challenge. First time I've use the dynamic replace - essentially as an 'eval' function. Solution attached.