I need to be able to split a string into lumps of numbers and letters.
so for example if st = “JJ542JQ83” would become [‘JJ’, ‘542’,‘JQ’,“83”]
i have been using st.split(/([a-zA-Z]+)(?=[0-9])/) , this does pretty
most of the time,
but also fails sometimes to do what i need it to . ( like for 202GP)
any help would be much appreciated, thanks