Smart Rules - RegEx?

I am trying to figure out how to make DT smart rules work like Hazel for receipts.

The PDF file of the receipt contains:

  1. "receipts@bluespeedpassplus.com"
  2. “Here is the receipt from your purchase on Jun 08, 2019 at 1341 UPPER JAMES ST:”

I tried pasting a regex search into content matches rule in DT but that does nothing: (on\s)(\D+\s[0-9]{1,2}\,\s[0-9]{4})

Hazel is able to rename such pdf files into “Fuel - 2019-06-08”

Is this or something close to this possible with DT smart rules or should I delegate this job to Hazel?

The search supports only booleans operators and wildcards.

You can insert placeholders in the “Change Name” action via the contextual menu, see e.g. submenu Insert Placeholder > Document Date.