I want to extract numbers from a string like:
str="good_mor9ni13ng_23guys ";
The output should be an array [9,13,23]
.
How should I proceed?
I want to extract numbers from a string like:
str="good_mor9ni13ng_23guys ";
The output should be an array [9,13,23]
.
How should I proceed?
Copyright © 2021 Jogjafile Inc.
You could do it like this: