Punjab National Bank Card spend debit SMS format

PNB_DEBIT_CARD_V1

Last updated

Quick answer

A Punjab National Bank Card spend debit SMS looks like this: “Ac XX0000 Debited by INR 125.00 thru Debitcard XXXX0000 at Example Shop on 01-01-2026. Aval Bal INR 9000.00-PNB” 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, the merchant or payee and the available balance or credit limit; everything else is fixed text, so it can be matched with the regex below.

Template

Ac Debited by currency amount thru Debitcard skip at merchantName on date. Aval Bal INR balance-PNB

Sample SMS

Template matches this sample

Ac Debited by INR 125.00 thru Debitcard XXXX0000 at Example Shop on 01-01-2026. Aval Bal INR 9000.00-PNB

FieldExtracted value
XX
0000
currencyINR
amount125.00
skipXXXX0000
merchantNameExample Shop
date01-01-2026
balance9000.00

Compiled regex

flags: i
^Ac \s*(?<masked>[\s\S]+?)\s*\s*(?<last_four>\d{4})\s* Debited by \s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* thru Debitcard \s*(?<skip>[\s\S]+?)\s* at \s*(?<merchantName>[\s\S]+?)\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*\. Aval Bal INR \s*(?<balance>[\s\S]+?)\s*-PNB
JSON/api/templates/pnb-debit-card-v1
{
  "id": "pnb-debit-card-v1",
  "name": "PNB_DEBIT_CARD_V1",
  "bank": {
    "code": "PNB",
    "name": "Punjab National Bank",
    "slug": "pnb"
  },
  "category": "Card spend",
  "payment_mode": "CARD",
  "direction": "debit",
  "keywords": [
    "thru Debitcard",
    "at",
    "-PNB"
  ],
  "template": "Ac {masked}{last_four} Debited by {currency} {amount} thru Debitcard {skip} at {merchantName} on {date}. Aval Bal INR {balance}-PNB",
  "regex": "^Ac \\s*(?<masked>[\\s\\S]+?)\\s*\\s*(?<last_four>\\d{4})\\s* Debited by \\s*(?<currency>[A-Z]{2,4})\\s* \\s*(?<amount>[\\d,]+(?:\\.\\d{1,2})?)\\s* thru Debitcard \\s*(?<skip>[\\s\\S]+?)\\s* at \\s*(?<merchantName>[\\s\\S]+?)\\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*\\. Aval Bal INR \\s*(?<balance>[\\s\\S]+?)\\s*-PNB",
  "regex_flags": "i",
  "sample": "Ac XX0000 Debited by INR 125.00 thru Debitcard XXXX0000 at Example Shop on 01-01-2026. Aval Bal INR 9000.00-PNB",
  "verified": true,
  "source": "pennywise"
}

Other PNB Card spend formats

PNB_CC_UPI_V1Card spendDebitVerified

PNB Credit Card debited with currency.amount [CODE:skip] at merchantName on date time through UPI: upi_ref Avl limit Rs. limit. -PNB

PNB Credit Card debited with Rs.1,499 [CODE:AB1234] at AMAZON INDIA on 05-10-2026 10:12 through UPI: 123456789012 Avl limit Rs. 47383.5. -PNB

Frequently asked questions

What does a Punjab National Bank Card spend debit SMS look like?

Ac XX0000 Debited by INR 125.00 thru Debitcard XXXX0000 at Example Shop on 01-01-2026. Aval Bal INR 9000.00-PNB — the parts that change are the amount, the last digits of the account or card, the date, the merchant or payee and the available balance or credit limit.

How do I parse a Punjab National Bank Card spend SMS?

First check that the message contains “thru Debitcard”, “at”, “-PNB”. Then match it with this case-insensitive regular expression: ^Ac \s*(?<masked>[\s\S]+?)\s*\s*(?<last_four>\d{4})\s* Debited by \s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* thru Debitcard \s*(?<skip>[\s\S]+?)\s* at \s*(?<merchantName>[\s\S]+?)\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*\. Aval Bal INR \s*(?<balance>[\s\S]+?)\s*-PNB. The named groups give you the amount, the last digits of the account or card, the date, the merchant or payee and the available balance or credit limit.

Is this Punjab National Bank SMS format verified?

Yes. The template is checked automatically against a real, redacted message on every build, and the build fails if it stops matching.

Does Punjab National Bank use more than one Card spend SMS format?

Yes. Punjab National Bank sends 2 different Card spend formats catalogued here; banks often keep older wordings alive alongside new ones, so a parser should try all of them.

Punjab National Bank Card spend debit SMS format (PNB_DEBIT_CARD_V1) | Iris SMS Templates