Menu

Regex vs Deterministic Extractors: Parsing 40 Indian Bank SMS Templates in Production
📰

Regex vs Deterministic Extractors: Parsing 40 Indian Bank SMS Templates in Production

DEV Community: kotlin·DEVANSHU PATIL·3 days ago
#tDvE6cgM
#devtokotlin#devto#dev#bank#regex
Reading 0:00
15s threshold

If you want to experience the full spectrum of linguistic inconsistency, try writing a parser for Indian banking SMS notifications.

India possesses one of the most advanced real-time digital payment ecosystems in the world, processing billions of UPI and card transactions every month. Yet the text alerts sent by Indian banks follow no unified industry standard:

State Bank of India (SBI) writes: "Dear UPI user A/C 1234 debited by 500.0 on 24Oct26 by transfer to VPA..."

HDFC Bank writes: "Sent Rs. 1,450.00 from HDFC Bank A/C **4921 to ZOMATO on 24-OCT-26 via UPI Ref 429810..."

ICICI Bank writes: "ICICI Bank Acct XX8012 debited with INR 2,999.00 on 24-Oct-26. Info: BIL*NETFLIX..."

Axis Bank writes: "Spent Rs 450.00 on Axis Bank Card no. XX4321 at SHELL PETROL..."

Currency symbols range from Rs. , Rs , INR , to the unicode Rupee symbol ₹ . Some messages attach numbers directly ( Rs.500 ), others insert spaces ( Rs 500.00 ).…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.