Which of the following regular expressions turns this input stream into the following output stream?

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/
B . s/txt/bak.txt/
C . s/txt$/bak.txt/
D . s/^txt$/.bak^/
E . s/[.txt]/.bak$1/

Answer: C

Latest 101-500 Dumps Valid Version with 242 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
1 Comment
Inline Feedbacks
View all comments
nico.bacardi
nico.bacardi
3 years ago

right anwser is
s/’txt ‘/’bck.txt ‘/g