ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-tutor
python-tutor
Re: [Tutor] pattern searching
by Modulok other posts by this author
Nov 6 2009 1:05PM messages near this date
Re: [Tutor] pattern searching | Re: [Tutor] pattern searching
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@[...].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 ||
> 
_______________________________________________
Tutor maillist  -  Tutor@[...].org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Thread:
Ajith Gopinath
Bob Gailer
Shashwat Anand
Bob Gailer
Ajith Gopinath
Lie Ryan
Bob Gailer
Modulok
Shashwat Anand

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved