This question already has an answer here:
- regex match number after ( 2 answers
I have a string in php in the form of $u="abc 145-9(23 Oj)" I have to extract the number just after the opening parenthesis. I have tried using preg_split() but I don't know how to give the pattern to match my requirements.
Aucun commentaire:
Enregistrer un commentaire