You are viewing a single comment's thread. Return to all comments →
Regex_Pattern = r'hackerrank' import re Test_String = input() match = re.findall(Regex_Pattern, Test_String) print("Number of matches :", len(match))
Seems like cookies are disabled on this browser, please enable them to open this website
Matching Specific String
You are viewing a single comment's thread. Return to all comments →
Python3