I hope someone can help me with a simple RegEx for a preg_replace.
I need to replace something like this
0.00|2=399.0000
so I'm only left with the value '2'.
Would preg_replace be the most effective method to achieve this result? Another example
0.00|13=69.0000
to lift out value '13'.
Thank you for any help.