To come up with a simple solution, you can split the text by the new line character in Python:
all_items = driver.find_element_by_css_selector("[id='all items']").text
first_item = all_items.split("\n")[0].replace('"','').strip()
If you want to extract words using regular expressions:
import re
all_items = driver.find_element_by_css_selector("[id='all items']").text
item_name = re.search("\w+", all_items).group()
If you require separating numbers and item names, you can achieve that with regular expressions. The following code will give you two lists, one containing all item names and the other containing numbers (in Python):
import re
all_items = driver.find_element_by_css_selector("[id='all items']").text
item_names = re.findall("[a-zA-Z]+", all_items)
item_numbers = re.findall("[0-9]+", all_items)