Quick answer
An ICICI Bank IMPS debit SMS looks like this: “ICICI Bank Acct XX123 debited with Rs 10 on 20-Dec-25 & Acct XX456 credited.IMPS:ABCDEF123456. Call 18002662 for dispute or SMS BLOCK 700 to 9215676766” 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.IMPS:upi_ref.
Sample SMS
ICICI Bank Acct XX123 debited with Rs 10 on 20-Dec-25 & Acct XX456 credited.IMPS:ABCDEF123456. Call 18002662 for dispute or SMS BLOCK 700 to 9215676766
| Field | Extracted value |
|---|---|
| acct_tail | 123 |
| currency | Rs |
| amount | 10 |
| date | 20-Dec-25 |
| skip | XX456 |
| upi_ref | ABCDEF123456 |
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\.IMPS:\s*(?<upi_ref>[A-Za-z0-9\-]{4,32})\s*\.JSON/api/templates/icici-imps-debit-v1
{
"id": "icici-imps-debit-v1",
"name": "ICICI_IMPS_DEBIT_V1",
"bank": {
"code": "ICICI",
"name": "ICICI Bank",
"slug": "icici-bank"
},
"category": "IMPS",
"payment_mode": "BANK",
"direction": "debit",
"keywords": [
"ICICI Bank Acct",
"credited.IMPS"
],
"template": "ICICI Bank Acct XX{acct_tail} debited with {currency} {amount} on {date} & Acct {skip} credited.IMPS:{upi_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\\.IMPS:\\s*(?<upi_ref>[A-Za-z0-9\\-]{4,32})\\s*\\.",
"regex_flags": "i",
"sample": "ICICI Bank Acct XX123 debited with Rs 10 on 20-Dec-25 & Acct XX456 credited.IMPS:ABCDEF123456. Call 18002662 for dispute or SMS BLOCK 700 to 9215676766",
"verified": true,
"source": "pennywise"
}Frequently asked questions
What does an ICICI Bank IMPS debit SMS look like?
ICICI Bank Acct XX123 debited with Rs 10 on 20-Dec-25 & Acct XX456 credited.IMPS:ABCDEF123456. Call 18002662 for dispute or SMS BLOCK 700 to 9215676766 — 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 IMPS SMS?
First check that the message contains “ICICI Bank Acct”, “credited.IMPS”. 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\.IMPS:\s*(?<upi_ref>[A-Za-z0-9\-]{4,32})\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.