How to identify English phrases or English + numeric phrases in a sentence?

for example:
the newly released Samsung Galaxy S9 features as follows: 1. The Exynos9810 processor is adopted, and the 2.RAM is 4GB. The battery capacity is 3000mAh.
expect to extract the S9 Magi Exynos 9810 GB mAh. I hope you can give me some advice on how to use it. Thank you.
Note: 2.RAM


match

the rules are as follows:

[a-zA-Z]+\d+|(?<=\d)[a-zA-Z]+

the code is as follows:

-sharp -*- coding: UTF-8 -*-
import re
str = 'S9Exynos9810RAM4GB3000mAh'
pattern = re.compile(r'[a-zA-Z]+\d+|(?<=\d)[a-zA-Z]+')
someChars = pattern.findall(str)
print someChars

here comes the answer

let str = 'S9Exynos9810RAM4GB3000mAh'
let someChars = str.match(/[0-9A-Za-z]+/g)

the effect is as follows:

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b34d2a-2b798.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b34d2a-2b798.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?