Python pattern search in a string
Posted
by Hulk
on Stack Overflow
See other posts from Stack Overflow
or by Hulk
Published on 2010-04-23T08:59:37Z
Indexed on
2010/04/23
9:03 UTC
Read the original article
Hit count: 256
python
|pythonstring
In python if a string contains the following,
print valid_str
The output of this is Record is positive in tone: It emphasizes "what a child can do and his or her achievements, as opposed to what he or she cannot do," explains the It is useful for progress and achievements during office conferences
How to search for the pattern It is useful
in the above string and if not found return something.
Thanks..
© Stack Overflow or respective owner