separate string data

device = devinfo.getModelDisplayName()
friendly = devinfo.getFriendlyName()

 r = CreateObject("roRegex", "(\d+)\s+(\w+)", "")
 ? r.Replace(friendly, "type:\2 id:\1")

I want to be able to separate to place independent

this solution

  r = CreateObject("roRegex", "\d+", "")
  arr = r.MatchAll("123 456 789")