<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi, <BR>
&nbsp;<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>&nbsp;<BR>here is my search method code:<BR>&nbsp;<BR>search=re.compile("^#acl InternationalGroup.*\n", re.M).search(pagetext)<BR>&nbsp;&nbsp;&nbsp; if search:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>I want to change this for following requirement:</DIV>
<DIV>&nbsp;</DIV>
<DIV>I want to search&nbsp; for "#acl&nbsp;InternationalGroup" and&nbsp; "CatInternational" in the pageText.</DIV>
<DIV>when "#acl&nbsp;InternationalGroup" is not there&nbsp;but&nbsp;"CatInternational" is there. then&nbsp;return me search group.</DIV>
<BR>I shall be thankful to you for any help.<BR>&nbsp;<BR>Best Regards, <BR>Waqas<BR><BR><BR><BR>
<DIV>&nbsp;</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>