sorry so, but i think we can improve regex a little bit more, and not use the (.*?) or /U i just didnt go ahead with the code
by the way Kiddo96, you forgot to replace " to "