Skip to content

Commit 84119c0

Browse files
authored
Update README.md
1 parent ac77e3a commit 84119c0

File tree

1 file changed

+7
-7
lines changed
  • Specialized Areas/Regular Expressions/Indian GSTIN Validator

1 file changed

+7
-7
lines changed

Specialized Areas/Regular Expressions/Indian GSTIN Validator/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# Alphanumeric String Validator
1+
# Indian GSTIN Validator
22

3-
This project provides a simple JavaScript function to validate whether a given string is alphanumeric (i.e., contains only letters and numbers).
3+
This project provides a guide and resources for validating an Indian GST Identification Number (GSTIN) using a Regular Expression. A GSTIN is a 15-character alphanumeric code assigned to taxpayers in India.
44

55
## Table of Contents
66

77
- [Features](#features)
8-
- [Usage](#usage)
8+
- [GSTIN Format and Structure](#gstin-format-and-Structure)
99
- [Validation Logic](#validation-logic)
1010
- [Examples](#examples)
1111
- [How to Run](#how-to-run)
@@ -14,12 +14,12 @@ This project provides a simple JavaScript function to validate whether a given s
1414

1515
## Features
1616

17-
- Validates strings to ensure they contain only letters (a-z, A-Z) and numbers (0-9).
18-
- Returns a boolean indicating the validity of the string.
17+
- Defines the regular expression pattern for a structurally valid GSTIN.
18+
- Explains the 15-character structure of the GSTIN.
1919

20-
## Usage
20+
## GSTIN Format and Structure
2121

22-
You can use the `isAlphanumeric` function to check if a string is alphanumeric.
22+
A valid GSTIN must be 15 characters long and adhere to the following structure:
2323

2424
### Function Signature
2525

0 commit comments

Comments
 (0)