In regular expressions, I'm still new.
I have a text, it has a lot of spans in styles that have different font-size . We must all bring them to one. I'm going to use something like str_replace() , something like this: str_replace("/font-size: [любая цифра]px;/","font-size: 28px;,$sting") . Tell me, please, what expression to put there, and whether I approached the question correctly - maybe there is no str_replace() there!