W3C Rules on email id:*
W3C transfer world wide web consortium
Example: a@b.com minimum 7 Position
Maximum 256 Positions
![](https://androindian.com/wp-content/uploads/2022/10/image-13.png)
Minimum size is 7 positions to maximum size 256 positions.
4 blocks in email id i.e. userid, site name, site type and zone.
Zone is optional
Test scenario is not scientific, it is a artistic
Characteristics of testers
Domain knowledge (Like understand user stories)
Testing knowledge
Programming knowledge
Using regular expression in test design
To write test scenarios, test cases in short form, tester can use mathematical notations called as regular expression.
[ ] one position (Char /digits)
[a-z] one alphabet in lower case
[0-9] one digit
[A-Z] one alphabet in upper case
[a-zA-Z] one alphabet (either upper/lower)
[0-9a-zA-Z _ ] one alphabet/digit/_
[ . ]
[.$] one alphabet/digit/_/$
[7-9] one digit, which is 7 or 8 or 9
[^0-6]
[q-z] One alphabet in lower case, which is any one in q to z
[^a-p]
[Q-Z] one alphabet in upper case, which is in Q TO Z
[^A-P]
[^_ ] Any special char except _
[A-Z][a-z] two positions with first as upper case and next as lower case
[A-Z][a-z][ .] three positions with first as upper case, second as lower case and third as alphabet in any case/digit/_
[09-] one position, which is 0 or 9 or –
[a-z][a-z] two positions, both are lower case alphabet
[a-z]{2}
Regular expression for pan card number
[A-Z]{5}[0-9]{4}[A-Z] 10 positions with first 5 positions are upper case alphabet, next 4 positions are digits and last is upper case alphabet
Regular expression for mobile number in India
[0-9]{10} 10 digits number
[0][0-9]{10} 11 digits number, but start with 0 only
[9][5][0-9]{10} 12 digits number, but first as 9 and second as 5
[A-Z][A-Za-z0-9]{9} 10 positions data, with first as upper case alphabet and remaining are alphanumeric
[A-Z][A-Za-z0-9]{8}[a-z] 10 positions with first as upper case alphabet last as lower case alphabet and middle remaining are alphanumeric
[A-Z][1 3 5 7 9]{8}[a-z] 10 positions with first as upper and last lower and middle remaining are odd digits.
([a-z][A-Z]){5} 10 positions with upper case in even position lower case in odd position
Example:
![](https://androindian.com/wp-content/uploads/2022/10/image-14.png)
[A-Z][.]{8}[0-9] 10 positions with first as upper, last as digit and middle remaining are alphanumeric with –
[0-9]{4,6} A number from 4 digits long
[A-Z][a-z]{3.5} 4 to 6 positions data with first as upper case and remaining are lower
[A-Z][a-z]{3,5}[0-9] 5 to 7 positions with first as upper case last as digit and middle
remaining are lower case
[A-Z][a-z0-9]{4,10} 5 to 11 positions with first as upper case and remaining are
lower case alphanumeric
[0-9]{1,} one digit to infinite no: of digits number
[0-9]+
[0-9]{0,} no digit to infinite no: of digits number
[0-9]*
[0-9]{0,1} no digit or one digit
[0-9]?
[a-zA-Z]+ One or more alphabet
[\w] (One word)
[\w][\s][\w] two words separated by space
Blank space
([\w][\s]?){1,}[.] Sentence
Full stop
Example
![](https://androindian.com/wp-content/uploads/2022/10/image-15.png)
![](https://androindian.com/wp-content/uploads/2022/10/image-16.png)