Q:

Split string by regular expression

I have [110308] Asia and India string and I want only Asia and India as my result by regular expression.
Can anyone please help me?

A:

If you want to do without regex you can try
>>> '[110308] Asia and India'.split(']', 1)[-1].strip()
'Asia and India'

or just use lstrip
>>> '[110308] Asia and India'.lstrip(" []" + string.digits)
'Asia and India'

Or, if for reasons you want to stick with regex
>>> re.findall("^[\[\]\d ]*(.*)"," [110308] Asia and India")[0]
'Asia and India'

