Dhanlaxmi Bank ATM withdrawal debit SMS format

DHANBK_ATM_V1

Last updated

Dhanlaxmi Bank·ATM withdrawalATMDebitNo sample

Quick answer

A Dhanlaxmi Bank ATM withdrawal debit SMS follows this pattern: “{currency} {amount} is debited from A/c {masked}{last_four} on {date} - "SELF/ ATM {skip}/{terminal}/{merchantName}/” It is a debit (money spent or sent) alert. The parts that change in each message are the amount, the last digits of the account or card, the date and the merchant or payee; everything else is fixed text, so it can be matched with the regex below.

Template

currency amount is debited from A/c on date - "SELF/ ATM skip/terminal/merchantName/

Sample SMS

No public sample for this format yet. It comes from a production parser, so it has matched real messages — but there is no redacted copy to show.

Compiled regex

flags: i
^\s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* is debited from A/c \s*(?<masked>[\s\S]+?)\s*\s*(?<last_four>\d{4})\s* on \s*(?<date>(?:\d{2}-[A-Z]{3}-\d{2,4}|\d{2}[A-Z]{3}\d{4}|[\dA-Z\-/ :T]{4,32}))\s* - "SELF/ ATM \s*(?<skip>[\s\S]+?)\s*/\s*(?<terminal>[\s\S]+?)\s*/\s*(?<merchantName>[\s\S]+?)\s*/
JSON/api/templates/dhanbk-atm-v1
{
  "id": "dhanbk-atm-v1",
  "name": "DHANBK_ATM_V1",
  "bank": {
    "code": "DHANLAKSHMIBANK",
    "name": "Dhanlaxmi Bank",
    "slug": "dhanlaxmi-bank"
  },
  "category": "ATM withdrawal",
  "payment_mode": "ATM",
  "direction": "debit",
  "keywords": [
    "is debited from A/c",
    "SELF/ ATM",
    "Aval Bal"
  ],
  "template": "{currency} {amount} is debited from A/c {masked}{last_four} on {date} - \"SELF/ ATM {skip}/{terminal}/{merchantName}/",
  "regex": "^\\s*(?<currency>[A-Z]{2,4})\\s* \\s*(?<amount>[\\d,]+(?:\\.\\d{1,2})?)\\s* is debited from A/c \\s*(?<masked>[\\s\\S]+?)\\s*\\s*(?<last_four>\\d{4})\\s* on \\s*(?<date>(?:\\d{2}-[A-Z]{3}-\\d{2,4}|\\d{2}[A-Z]{3}\\d{4}|[\\dA-Z\\-/ :T]{4,32}))\\s* - \"SELF/ ATM \\s*(?<skip>[\\s\\S]+?)\\s*/\\s*(?<terminal>[\\s\\S]+?)\\s*/\\s*(?<merchantName>[\\s\\S]+?)\\s*/",
  "regex_flags": "i",
  "sample": null,
  "verified": false,
  "source": "iris"
}

Frequently asked questions

What does a Dhanlaxmi Bank ATM withdrawal debit SMS look like?

It follows the pattern “{currency} {amount} is debited from A/c {masked}{last_four} on {date} - "SELF/ ATM {skip}/{terminal}/{merchantName}/”, where the placeholders in braces are the amount, the last digits of the account or card, the date and the merchant or payee.

How do I parse a Dhanlaxmi Bank ATM withdrawal SMS?

First check that the message contains “is debited from A/c”, “SELF/ ATM”, “Aval Bal”. Then match it with this case-insensitive regular expression: ^\s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* is debited from A/c \s*(?<masked>[\s\S]+?)\s*\s*(?<last_four>\d{4})\s* on \s*(?<date>(?:\d{2}-[A-Z]{3}-\d{2,4}|\d{2}[A-Z]{3}\d{4}|[\dA-Z\-/ :T]{4,32}))\s* - "SELF/ ATM \s*(?<skip>[\s\S]+?)\s*/\s*(?<terminal>[\s\S]+?)\s*/\s*(?<merchantName>[\s\S]+?)\s*/. The named groups give you the amount, the last digits of the account or card, the date and the merchant or payee.

Is this Dhanlaxmi Bank SMS format verified?

It comes from a production SMS parser and matches real messages, but there is no public redacted sample to show yet.

Dhanlaxmi Bank ATM withdrawal debit SMS format (DHANBK_ATM_V1) | Iris SMS Templates