skip to Main Content
author
212 views
2 votes

RegEx to search between commas in variable, and based on value, perform logic – Magento

I have a variable called $DiscountDescriptionTrimmed that could, possibly, contain data in formats such as:
“Free and Fast Shipping Club

Back To Top
Search