Data extraction

Report a typo

Write a program that will print everything that is between the <START> and <END> tags of an input string.

Sample Input 1:

Something\n<START>\nsomething\n<END>\nsomething

Sample Output 1:

\nsomething\n
Write a program in Python 3
import re

string = input()
# your code
___

Create a free account to access the full topic