5) Write a regular expression would zip code + 4 fields of the forms: xxxxx-xxxx where x is any number but the last 4 digits cou
ld be missing. The dash at the end of the first 5 numbers will ALWAYS be present AND the field is delineated with spaces or tabs.
1 answer:
Answer:
Following is the expression written in "Bash script" (mixture of commands):
^\d{5}(?:[-\s]\d{4})?$
Explanation:
- ^ = For staring string (denotation).
- \d{5} = Matching 5 digits (first five unknown x's)
- (?:…) = Making Group (making group of former 5 digits)
- [-\s] = Match a hyphen or a space
(checking if a hyphen is present?)
- \d{4} = Matching 4 digits (next four unknown x's)
- …? = Pattern before it is optional
- $ = Ending of the string.(denotation)
You might be interested in
Answer: Option C is correct
Explanation:
Option C is correct
Answer:
Direct traffics.
Explanation:
This channel refers to those traffics that came directly and without any via.
The answer is c to manufacture new products because it is not hardware the internet can not produce products
Answer:
I wouldn't get an iphone xr my stepmom had one and the screen started having problems and the apps were glitching.
The first step is that you click on page layouts