I have a string sequence that goes like this: <x:object*10/>.
I want to replace that tag with something else that depends on what number it is.
I match the tag above with /<x:object\*[0-9]+\/>/ and using preg_replace i can replace it all with the content I want. I just need that number now.
How can I get the number please?
<x:object*10/>supposed to be?:, but that never gets output. The parser changes that to a series of DIV elements and image tags etc.