MCQs>IT & Programming>Perl>Which regular expression deletes all tags specified as text enclosed by '<' and '>' from a document stored in a string, but deletes nothing else?
Perl MCQs
Which regular expression deletes all tags specified as text enclosed by "<" and ">" from a document stored in a string, but deletes nothing else?
Answer
Correct Answer: $string =~ s/<.*?>//g;
Explanation:
Note: This Question is unanswered, help us to find answer for this one