You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Specialized Areas/Regular Expressions/Indian GSTIN Validator/README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
-
# Alphanumeric String Validator
1
+
# Indian GSTIN Validator
2
2
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.
4
4
5
5
## Table of Contents
6
6
7
7
-[Features](#features)
8
-
-[Usage](#usage)
8
+
-[GSTIN Format and Structure](#gstin-format-and-Structure)
9
9
-[Validation Logic](#validation-logic)
10
10
-[Examples](#examples)
11
11
-[How to Run](#how-to-run)
@@ -14,12 +14,12 @@ This project provides a simple JavaScript function to validate whether a given s
14
14
15
15
## Features
16
16
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.
19
19
20
-
## Usage
20
+
## GSTIN Format and Structure
21
21
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:
0 commit comments