Build, test, and debug regular expressions
This regex matches positions in a number string where commas should be inserted to format it according to the Indian numbering system (Lakh format). It identifies the correct grouping points where digits are split into pairs after the initial three digits from the right (e.g., 1,00,00,000). This is commonly used for formatting currency values in Indian Rupees or displaying numbers according to South Asian conventions.