I am trying to delete a string grouped by type (only ALPHA or DIGIT), without any other character.
I work in PHP and want to use REGEX.
I need to convert an input string of type ES-3810 / 24MX "to an array, for example [ES] [3810] [24] [MX] , and an input string of type" CISCO1538M "to an array such as [CISCO] [1538] [M] .
The sequence of input files may be indifferent to DIGITS or ALPHA.
Separators can be non-ALPHA and non-DIGIT characters, as well as a change between the DIGIT sequence and the APLHA sequence and vice versa.
Sorry for my poor English ... hope my explanation seems clear, however.
Thanks for your great help.
Sincerely.
mlh source share