i am trying to extract number out from a text which i grab from the database. EG: ACK9734N, I would like to extract just the number 9724 from the text, how can i do so?
i understand about using preg_match() but when i tried to do that, the number came out in an array one at a time which is not what i want.
Can someone be able to help me?? Thanks