Greetings, I can not write a regular list to break the string into the required data.
There is a list of skins:
★ Falchion Knife | Boreal Forest (Factory New) Souvenir FAMAS | Teardown (Battle-Scarred) ★ StatTrak™ Flip Knife | Lore (Field-Tested) ★ Bayonet | Autotronic (Battle-Scarred) AK-47 | Redline (Field-Tested) ★ Karambit | Bright Water (Battle-Scarred) StatTrak™ Negev | Man-o'-war (Minimal Wear) ★ M9 Bayonet | Marble Fade (Minimal Wear) ★ StatTrak™ Flip Knife | Gamma Doppler (Minimal Wear) Tec-9 | Nuclear Threat (Factory New) Souvenir Tec-9 | Nuclear Threat (Minimal Wear) ★ StatTrak™ Karambit ★ StatTrak™ Gut Knife ★ Huntsman Knife Add. information:
★ - means it is a knife
StatTrak ™ - skin has a shot count
Souvenir - souvenir skin
(Minimal Wear) - quality skin
AK-47 | Redline - skin name
It is necessary to output data using a regular expression such as:
1. Is the skin souvenir
2. Is it a knife?
3. Does the meter have
4. skin name
5. if available, quality
I attached explanatory materials: https://jsfiddle.net/zn6Lk233/3/