Need help with decimals and multiple zero test in React Calculator Project

I kinda stuck with these test case and have no idea what to do to make it pass, I opened the example project but there is a lot of regex here and there, I don’t know which part needs a regex in my code. Could anyone please help me?

My code:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.