Thanks for the help but the color line is not working.
var office = Rule("tagPhone1") + Rule("Change phone format Rule")
var fax = Rule("tagPhone2") + Rule("Change fax phone format Rule")
var numbers = [office,fax];
return numbers.filter(function(m){return m.match(/.*\s(?=.)/);}).join('<color name="PANTONE 801"> • </color>');
I get:
t. 901.484.4274 <color name="PANTONE 801"> • </color>f. 281.989.6950
I have tried different colors (Cyan, Yellow, etc). I have the color defined in Advanced<colors. Does it need to be defined somewhere else?