1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Amiraneli [1.4K]
3 years ago
8

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.
Computers and Technology
1 answer:
marusya05 [52]3 years ago
4 0

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
What is the square root of 1600 and 36 ?​
liraira [26]

Answer:

1600 - 40

36 - 6

Explanation:

3 0
3 years ago
The __________ tag is used to create a forced line break without starting a new paragraph.
Ainat [17]
<br> acts as a linefeed.
3 0
3 years ago
Anyone who know hacking​
Anton [14]

Answer: my best friend does her instgram is

user9294586

3 0
2 years ago
What is the difference between a rendering engine and a browser engine?
Vlada [557]

Answer:

D) A rendering engine displays content on the screen and a browser engine coordinates user interface interactions.

Explanation:

The rendering engine will deal with all the HTML code and will generate an output based on its own rules for interpreting the code.  That's why different rendering engines will have different renditions of the same given HTML code. You can notice that in the acceptance of HTML5 and CSS3 tags, which are not universal yet.

The browser engine will deal with the user interface and all other features that make a browser a browser, relying on the rendering engine for the display.

That duality allows different browsers to use the same rendering engine, thus have similar outputs.

7 0
3 years ago
Read 2 more answers
Which type of statement is used to communicate one’s feelings in a nonconfrontational manner?
Elis [28]
A statement with an "I am" phrase could be used to communicate one's feelings in a non-confrontational manner. I hope this answer helps. Have a great day ahead.
5 0
3 years ago
Other questions:
  • A compound document contains _______ from different applications.
    12·2 answers
  • Which group on the sparkline tools design tab would you choose if you wanted to change the data source of the sparkline? (1 poin
    10·1 answer
  • A loop that repeats a specific number of times is known as a(n):
    9·1 answer
  • Which option allows you to view slides on the full computer screen?
    11·1 answer
  • What does the Additional Clock tab do?
    11·1 answer
  • Write a pseudo-code that keeps asking the user for a given number 'n' different of zero, then print all numbers between one &amp
    8·1 answer
  • Marys total out of pocket costbwere for the year​
    12·1 answer
  • What does Al stand for?
    10·1 answer
  • Use the drop-down menus to complete the statements about changing mail options in Outlook.
    10·1 answer
  • Hey everyone. I am so bored
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!