@daportelli
The comments in the code are very confusing, but I think I get it now, more or less.
Try this:
{keyword: '.*', transform: { search: 'Spotify', replace: 'Music'}},
{keyword: '.*', transform: { search: 'Canterbury-Bankstown Bulldogs', replace: 'Bulldogs'},
The keyword is the event title string you want to change, in format regex.
The search is the substring that you want to replace, in format regex
The replace is what will be replaced based on your search
So in this case, let’s say the event title string is:
‘Spotify play list’
Then you search the complete string (.*) for the substring from search and you replace it by the string from replace.
Hence, the event title now becomes:
‘Music play list’
I hope it is a little bit more clear.
Should it not work, then please supply a event title and in short what you want to be replaced.