I have a list of tags such as
Fiction.Cultures & Regions.Canada and
Nonfiction.Cultures & Regions.Asia.China.
I'd like to remove any tag including "Cultures & Regions" from the list before splitting it.
I tried a regex list_difference but it didn't seem to work:
Code:
program:
list_difference($tags, '(.*)Cultures & Regions(.*)', ',');)
(Additionally, I also want to do the same with something like a list_intersection to extract the culture & region items.)