You are asked to replace a pattern with a different pattern. Which of these ways of parameter passing is correct?
re.search(extraction pattern, substitution, source string, max substitution)
re.findall( substitution,extraction pattern, source string, max substitution)
re.sub(extraction pattern, substitution, source string, max substitution)
re.sub(substitution, extraction pattern,source string, max substitution)
To get all Infosys Certified Python Associate Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee