Saraswat Co-operative Bank Account debit credit SMS format
SARASWAT_CREDIT_V1
Last updated
Quick answer
A Saraswat Co-operative Bank Account debit / credit credit SMS looks like this: “Your A/c no. 9012 is credited with INR 500.00 on 01-11-2025 towards Salary. Current Bal is INR 15,000.00 CR - Saraswat Bank” 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 and the available balance or credit limit; everything else is fixed text, so it can be matched with the regex below.
Template
Your A/c no. last_four is credited with currency amount on date towards merchantName. Current Bal is INR balance CR - Saraswat Bank
Sample SMS
Your A/c no. 9012 is credited with INR 500.00 on 01-11-2025 towards Salary. Current Bal is INR 15,000.00 CR - Saraswat Bank
| Field | Extracted value |
|---|---|
| last_four | 9012 |
| currency | INR |
| amount | 500.00 |
| date | 01-11-2025 |
| merchantName | Salary |
| balance | 15,000.00 |
Compiled regex
^Your A/c no\. \s*(?<last_four>\d{4})\s* is credited 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* towards \s*(?<merchantName>[\s\S]+?)\s*\. Current Bal is INR \s*(?<balance>[\s\S]+?)\s* CR - Saraswat BankJSON/api/templates/saraswat-credit-v1
{
"id": "saraswat-credit-v1",
"name": "SARASWAT_CREDIT_V1",
"bank": {
"code": "SARASWAT",
"name": "Saraswat Co-operative Bank",
"slug": "saraswat-bank"
},
"category": "Account debit / credit",
"payment_mode": "BANK",
"direction": "credit",
"keywords": [
"is credited with",
"Saraswat Bank"
],
"template": "Your A/c no. {last_four} is credited with {currency} {amount} on {date} towards {merchantName}. Current Bal is INR {balance} CR - Saraswat Bank",
"regex": "^Your A/c no\\. \\s*(?<last_four>\\d{4})\\s* is credited 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* towards \\s*(?<merchantName>[\\s\\S]+?)\\s*\\. Current Bal is INR \\s*(?<balance>[\\s\\S]+?)\\s* CR - Saraswat Bank",
"regex_flags": "i",
"sample": "Your A/c no. 9012 is credited with INR 500.00 on 01-11-2025 towards Salary. Current Bal is INR 15,000.00 CR - Saraswat Bank",
"verified": true,
"source": "pennywise"
}Frequently asked questions
What does a Saraswat Co-operative Bank Account debit / credit credit SMS look like?
Your A/c no. 9012 is credited with INR 500.00 on 01-11-2025 towards Salary. Current Bal is INR 15,000.00 CR - Saraswat Bank — 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 Saraswat Co-operative Bank Account debit / credit SMS?
First check that the message contains “is credited with”, “Saraswat Bank”. Then match it with this case-insensitive regular expression: ^Your A/c no\. \s*(?<last_four>\d{4})\s* is credited 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* towards \s*(?<merchantName>[\s\S]+?)\s*\. Current Bal is INR \s*(?<balance>[\s\S]+?)\s* CR - Saraswat Bank. 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 Saraswat Co-operative 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.