re.findall(r'a([^a]*)a','000a1111a2222a3333a4444a')

On Mar 24, 3:40 pm, DD <dutta.dipanka...@gmail.com> wrote:
> >>> re.findall(r'a(.*)a','000a1111a2222a3333a4444a') return
>
> ['1111a2222a3333a4444']
>
> what is the regular expression such that it should return
> ['1111','2222','3333','4444']
>
> ?

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to