a = input("enter the string")
print "%s dinesh" %l
m=re.match(r'(.*)(\.*)',l,re.I)
print m.group()
print m.group(2)
i m getting the following error ,when i give input
Traceback (most recent call last):
File "regularexp.py", line 1, in <module>
a = input("enter the string")
File "<string>", line 1, in <module>
NameError: name 'dinesh' is not defined