DevJourney · code I wrote while learning
Worksheet 3
7 items- 1. Write a JavaScript program to test whether the first character of a string is uppercase or not—
- 2. Write a pattern that matches e-mail addresses—
- 3. Write a JavaScript program to search a date within a string—
- 4. Write a JavaScript function to count the number of vowels in a given string—
- 5. Write a JavaScript function to check whether a given value is a valid URL or not—
- 6. Write a JavaScript function to check whether a given value is a valid Indian mobile number or not—
- 7. Write a JavaScript function to check whether a given value represents a domain—