[Tutor] pattern searching

Modulok modulok at gmail.com
Fri Nov 6 21:58:57 CET 2009


See the 're' module in the standard library. To quote the docs:

"This module ('re') provides regular expression matching operations
similar to those found in Perl. Both patterns and strings to be
searched can be Unicode strings as well as 8-bit strings."

You can find more information here: http://docs.python.org/library/re.html
-Modulok-

On 11/6/09, Ajith Gopinath <qbits143 at gmail.com> wrote:
> Hi,
>
> How to find out all the occuerence of a particular pattern like  in a long
> text where a capital letter in between two small letters ('aBa','dAd' etc..)
> || a j i t ||
>


More information about the Tutor mailing list