Test, validate and match regular expressions
Matches lines or log entries containing an Authorize.Net transaction reference in the format '(Transaction ID <number>)', capturing the numeric transaction ID in group 1. The surrounding character classes match common text characters including letters, digits, spaces, and symbols like . | / : ( ) < > = - # " , so the pattern consumes the full surrounding note. It's designed for extracting transaction IDs from WooCommerce order notes or Authorize.Net payment gateway logs.