How to write Regular Expression for recursive matching?
lisong.1979 at gmail.com
Mon Nov 26 17:40:29 CET 2007
I have problem to split a string like this:
and I want to get all substrings with only one '.' in mid. so the
output I expect is :
'abc.defg', 'defg.hij', 'hij.klmnop'
a simple regular expression '\w+.\w' will only return:
is there a way to get 'defg.hij' using regular expression?
More information about the Python-list