HDFC Bank NEFT credit SMS format

HDFC_NEFT_V1

Last updated

HDFC Bank·NEFTBANKCreditNo sample

Quick answer

An HDFC Bank NEFT credit SMS follows this pattern: “Update! {currency} {amount} deposited in HDFC Bank A/c {masked}{last_four} on {date} for NEFT Cr-{senderac}-{merchantName}-{receivedBy}-{ref}.Avl bal INR {balance}. Cheque deposits in A/C are subject to clearing” It is a credit (money received) alert. The parts that change in each message are the amount, the last digits of the account or card, the date, the merchant or payee, a reference number and the available balance or credit limit; everything else is fixed text, so it can be matched with the regex below.

Template

Update! currency amount deposited in HDFC Bank A/c on date for NEFT Cr--merchantName-receivedBy-ref.Avl bal INR balance. Cheque deposits in A/C are subject to clearing

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
^Update! \s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* deposited in HDFC Bank 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* for NEFT Cr-\s*(?<senderac>[\s\S]+?)\s*-\s*(?<merchantName>[\s\S]+?)\s*-\s*(?<receivedBy>[\s\S]+?)\s*-\s*(?<ref>[\s\S]+?)\s*\.Avl bal INR \s*(?<balance>[\s\S]+?)\s*\. Cheque deposits in A/C are subject to clearing
JSON/api/templates/hdfc-neft-v1
{
  "id": "hdfc-neft-v1",
  "name": "HDFC_NEFT_V1",
  "bank": {
    "code": "HDFC",
    "name": "HDFC Bank",
    "slug": "hdfc-bank"
  },
  "category": "NEFT",
  "payment_mode": "BANK",
  "direction": "credit",
  "keywords": [
    "HDFC",
    "deposited",
    "NEFT"
  ],
  "template": "Update! {currency} {amount} deposited in HDFC Bank A/c {masked}{last_four} on {date} for NEFT Cr-{senderac}-{merchantName}-{receivedBy}-{ref}.Avl bal INR {balance}. Cheque deposits in A/C are subject to clearing",
  "regex": "^Update! \\s*(?<currency>[A-Z]{2,4})\\s* \\s*(?<amount>[\\d,]+(?:\\.\\d{1,2})?)\\s* deposited in HDFC Bank 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* for NEFT Cr-\\s*(?<senderac>[\\s\\S]+?)\\s*-\\s*(?<merchantName>[\\s\\S]+?)\\s*-\\s*(?<receivedBy>[\\s\\S]+?)\\s*-\\s*(?<ref>[\\s\\S]+?)\\s*\\.Avl bal INR \\s*(?<balance>[\\s\\S]+?)\\s*\\. Cheque deposits in A/C are subject to clearing",
  "regex_flags": "i",
  "sample": null,
  "verified": false,
  "source": "iris"
}

Frequently asked questions

What does an HDFC Bank NEFT credit SMS look like?

It follows the pattern “Update! {currency} {amount} deposited in HDFC Bank A/c {masked}{last_four} on {date} for NEFT Cr-{senderac}-{merchantName}-{receivedBy}-{ref}.Avl bal INR {balance}. Cheque deposits in A/C are subject to clearing”, where the placeholders in braces are the amount, the last digits of the account or card, the date, the merchant or payee, a reference number and the available balance or credit limit.

How do I parse an HDFC Bank NEFT SMS?

First check that the message contains “HDFC”, “deposited”, “NEFT”. Then match it with this case-insensitive regular expression: ^Update! \s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* deposited in HDFC Bank 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* for NEFT Cr-\s*(?<senderac>[\s\S]+?)\s*-\s*(?<merchantName>[\s\S]+?)\s*-\s*(?<receivedBy>[\s\S]+?)\s*-\s*(?<ref>[\s\S]+?)\s*\.Avl bal INR \s*(?<balance>[\s\S]+?)\s*\. Cheque deposits in A/C are subject to clearing. The named groups give you the amount, the last digits of the account or card, the date, the merchant or payee, a reference number and the available balance or credit limit.

Is this HDFC 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.

HDFC Bank NEFT credit SMS format (HDFC_NEFT_V1) | Iris SMS Templates