ExamGecko
Question list
Search
Search

Question 237 - 101-500 discussion

Report
Export

Given the following input stream: txt1.txt atxt.txt txtB.txt Which of the following regular expressions turns this input stream into the following output stream? txt1.bak.txt atxt.bak.txt txtB.bak.txt

A.
s/^.txt/.bak/
Answers
A.
s/^.txt/.bak/
B.
s/txt/bak.txt/
Answers
B.
s/txt/bak.txt/
C.
s/txt$/bak.txt/
Answers
C.
s/txt$/bak.txt/
D.
s/^txt$/.bak^/
Answers
D.
s/^txt$/.bak^/
E.
s/[.txt]/.bak$1/
Answers
E.
s/[.txt]/.bak$1/
Suggested answer: B
asked 18/09/2024
Kumail Alsinan
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first