NPLF22U6DFRBKB5LINVRLZTSSY3MMHCLYSLR5WMDSKGNCHPNAEIQC
OE75DBM36Z3EXJ7XPQVSSBEIT4UR275RP43URXF4OOFSXKEYTA4AC
ZQ7H4A4SN2OB6ADCZW7JMVIBDTS3AT4SQ2XXQ7I4C43V2JKH6NKAC
I4MTA4E4GTMWJ4NC42QRWV55JRZ2K2W7SDSH5GAW2N4MIAQWS3DQC
SE6MCCXTIXSGMAH5EL7EPDXIQKV6THCCY2H4OQJJQOHCUQAWE5VQC
.replace(/\bgrand\s+daddy\b/, 'granddaddy')
.replace(/\bgrand\s+daddy\b/, 'granddaddy')//todo: better space detection. lots of strain families can be spelt with or without spaces... which will throw off the sort
} else { console.log(`unknown brand: ${brand}`); brand = brand.replace('.', '').replace(/&|(\b(and|health|therapeutics|co|company|inc|cannabis)\b)/g, '').trim();
} else {
console.log(`unknown brand: ${brand}`);
brand = brand.replace('.', '').replace(/&|(\b(and|health|therapeutics|co|company|inc|cannabis)\b)/g, '').trim();
if(typeof brand === 'string') { name = name.replace(brand.toLowerCase(), ''); } if(typeof producer === 'string') { name = name.replace(producer.toLowerCase(), ''); }
if(typeof brand === 'string') {
name = name.replace(brand.toLowerCase(), '');
}
if(typeof producer === 'string') {
name = name.replace(producer.toLowerCase(), '');