This macro searches the specified fields of the current email message or current calendar event for all occurrences of the specified regular expression and inserts them (separated by the specified separator) into the current macro position.


     "fields":["from", "to", "cc", "bcc", "subject", "location",
        "recipient_first_name" , "recipient_full_name" , "recipient_last_name" ,
        "sender_first_name" , "sender_full_name" , "sender_last_name" ,
     [ "separator":"textvalue" ] // default separator is comma

Works for

  • Email templates.
  • Calendar event templates.

Examples of use

~%RegexExtract{"fields":["body"],"regex":"(o|O)rder ID \\d{7}","separator":", "}