Patrick2000
Programmer
Hi,
I am using regular expression to search a string
like 'CEO.*ages', I intends to only get the CEO's name
between CEO and ages, however the python returned the
longest match like 'CEO Name ages, VP Name ages, etc'
does anybody know how to accomplish this?
Thanks
Pat
I am using regular expression to search a string
like 'CEO.*ages', I intends to only get the CEO's name
between CEO and ages, however the python returned the
longest match like 'CEO Name ages, VP Name ages, etc'
does anybody know how to accomplish this?
Thanks
Pat