Quick answer
An ICICI Bank NEFT debit SMS looks like this: “ICICI Bank Acct XX111 debited with Rs 5000 on 15-Jan-26 & Acct XX222 credited. NEFT RRN ZX9876543210. -ICICI Bank” 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 a reference number; everything else is fixed text, so it can be matched with the regex below.
Template
ICICI Bank Acct XXacct_tail debited with currency amount on date & Acct skip credited. NEFT RRN ref.
Sample SMS
ICICI Bank Acct XX111 debited with Rs 5000 on 15-Jan-26 & Acct XX222 credited. NEFT RRN ZX9876543210. -ICICI Bank
| Field | Extracted value |
|---|---|
| acct_tail | 111 |
| currency | Rs |
| amount | 5000 |
| date | 15-Jan-26 |
| skip | XX222 |
| ref | ZX9876543210 |
Compiled regex
^ICICI Bank Acct XX\s*(?<acct_tail>[\s\S]+?)\s* debited with \s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\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* & Acct \s*(?<skip>[\s\S]+?)\s* credited\. NEFT RRN \s*(?<ref>[\s\S]+?)\s*\.JSON/api/templates/icici-neft-debit-v1
{
"id": "icici-neft-debit-v1",
"name": "ICICI_NEFT_DEBIT_V1",
"bank": {
"code": "ICICI",
"name": "ICICI Bank",
"slug": "icici-bank"
},
"category": "NEFT",
"payment_mode": "BANK",
"direction": "debit",
"keywords": [
"ICICI Bank Acct",
"NEFT RRN"
],
"template": "ICICI Bank Acct XX{acct_tail} debited with {currency} {amount} on {date} & Acct {skip} credited. NEFT RRN {ref}.",
"regex": "^ICICI Bank Acct XX\\s*(?<acct_tail>[\\s\\S]+?)\\s* debited with \\s*(?<currency>[A-Z]{2,4})\\s* \\s*(?<amount>[\\d,]+(?:\\.\\d{1,2})?)\\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* & Acct \\s*(?<skip>[\\s\\S]+?)\\s* credited\\. NEFT RRN \\s*(?<ref>[\\s\\S]+?)\\s*\\.",
"regex_flags": "i",
"sample": "ICICI Bank Acct XX111 debited with Rs 5000 on 15-Jan-26 & Acct XX222 credited. NEFT RRN ZX9876543210. -ICICI Bank",
"verified": true,
"source": "pennywise"
}Frequently asked questions
What does an ICICI Bank NEFT debit SMS look like?
ICICI Bank Acct XX111 debited with Rs 5000 on 15-Jan-26 & Acct XX222 credited. NEFT RRN ZX9876543210. -ICICI Bank — the parts that change are the amount, the last digits of the account or card, the date and a reference number.
How do I parse an ICICI Bank NEFT SMS?
First check that the message contains “ICICI Bank Acct”, “NEFT RRN”. Then match it with this case-insensitive regular expression: ^ICICI Bank Acct XX\s*(?<acct_tail>[\s\S]+?)\s* debited with \s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\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* & Acct \s*(?<skip>[\s\S]+?)\s* credited\. NEFT RRN \s*(?<ref>[\s\S]+?)\s*\.. The named groups give you the amount, the last digits of the account or card, the date and a reference number.
Is this ICICI 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.