Q. <script type="text/javascript"> var s = "9123456 or 80000?";var pattern = /\d{4}/; var output = s.match(pattern); document.write(output); </script> (Solved)
1. 9123
2. 91234
3. 80000
4. none of the above
- a. 9123
1. 9123
2. 91234
3. 80000
4. none of the above