Hello to all
how can I get a number (positive number) from a string if the string syntax is as follows:
t_def_type_id_2
t_def_type_id_22
t_def_type_id_334
so in the first line I want to get 1, and in the second I want to get 22, and in the third line I want to get 334 using preg_match_all or any other sutable php function
ahmad source share