# [C# (.NET Core)], <s>231</s>, <s>203</s>, <s>200</s>, <s>196</s>, 192 bytes

EDIT:  Function is now at 185 bytes plus 18 for <code>using System.Linq;</code>

Thanks to BMO (for 1>0 being equal to true plus newline removal) and Mr. XCoder (for f=!f statements)!

EDIT2:  Down to 182 bytes plus 18 for <code>using System.Linq</code> thanks to dana for sharing a few golf tips!

EDIT3:  Thanks to Embodiment of Ignorance for the int[] -> var, removal of short circuit && -> &, and changing up ToArray -> ToList! (178 bytes + 18 using)

EDIT4:  Embodiment of Ignorance dropped 4 bytes by changing an assignment.  Dummy me shoulda counted!  Thanks again :D

<!-- language-all: lang-cs -->

    p=>{var f=1>0;while(f){var t=p.Select(n=>n-48).ToList();p="";f=!f;for(var j=0;j<t.Count;j++){if(j<t.Count-1&t[j]==t[1+j]){p+=t[j]+t[++j];f=!f;continue;}p+=t[j];}};return p;};

[Try it online!][TIO-jqi4qfa8]

[C# (.NET Core)]: https://www.microsoft.com/net/core/platform
[TIO-jqi4qfa8]: https://tio.run/##TZAxa8MwFIR3/wrVQ5FQbWLo4PAiL4FOKRRS6OBmsFUplXEkV3pOKca/3bWbEMobjvvuccPJkEjn1dQHY49k/xNQnSD679KdsV8QybYKgbx4d/TVaYgI6fq6NZIErHCWszMf5LkylrIlJOSpt3IT0M9FDxcpSE3E1IliOFeeaJEVK/j@NK2imv0hFF26V62SSK0obPKYs/TV7UxAyqATcQxa3GnQztPlvREraDaYbl1vERrO2WA0vZEku8eyOQiBZcabAxs6LhbAseSzv3RJZ9HYXsF4TWEcwSvsvSUdjDBdN9g6G1yr0jdvUNGaxut1nseMx@82ZhCN802/ "C# (.NET Core) – Try It Online"