Answer:
import regex as re
def in_parentheses(a_string):
regeX = re.compile(".*?\((.*?)\)")
result = re.findall(regeX, a_string)
return str(result).replace("[","").replace("]","")
print("test 1: "+in_parentheses("Open ( only"))
print("test 2: "+in_parentheses("This is a sentence (words!)."))
Did you try google? Probably it will help u
the first chip was invented in 1975
hope this help!
Utility software can help you to designed to help analyze,configure , optimize or maintain a computer.