Regular Expression Quiz: MCQs on Regular Expression

Regular Expression Quiz. MCQs Quiz in Python Programming on Regular Expressions. Regular Expression Quiz   Which of the following functions creates a Python object ?? a) re.compile(str) b) re.assemble(str) c) re.regex(str) d) re.create(str)   What will be the output of the following Python code ?? a = re.compile(‘0-9’) a.findall(‘3 trees’) a) [] b) [‘3’] c) …

Regular Expression Quiz: MCQs on Regular Expression Read More »