<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi, <BR>
<BR>
I dont know it is the right place to post this question. I need help to change one search code line . can you help me please.<BR> <BR>here is my search method code:<BR> <BR>search=re.compile("^#acl InternationalGroup.*\n", re.M).search(pagetext)<BR> if search:<BR> ret=search.group()<BR><BR><BR>
<DIV>here i am searching for "#acl InternationalGroup" in the pageText and when it true is then give me search group.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>I want to change this for following requirement:</DIV>
<DIV> </DIV>
<DIV>I want to search for "#acl InternationalGroup" and "CatInternational" in the pageText.</DIV>
<DIV>when "#acl InternationalGroup" is not there but "CatInternational" is there. then return me search group.</DIV>
<BR>I shall be thankful to you for any help.<BR> <BR>Best Regards, <BR>Waqas<BR><BR><BR><BR>
<DIV> </DIV><BR><BR>                                            <br /><hr />Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! <a href='http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us' target='_new'>Try it!</a></body>
</html>