> ^\/test\/contact.html$ does not work. I am sorry, I just found that
it has to be: test/contact.html and not dir/test/contact.html there is no leading slash. Do you have any other suggestion? -- <IFRAME SRC="http://saratoga.globosapiens/associates/report_member.php?u=3&color=EEE EEE" scrolling=no frameborder=0 TITLE="My travel articles" width="330" height="155" ALLOWTRANSPARENCY="true"><a href="http://www.globosapiens.net" title="Worldwide Travel Community"a>Travel Community<a/> </IFRAME> "Kae Verens" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Merlin wrote: > > Hi there, > > > > I have a regex problem. > > > > Basicly I do not want to match: > > > > /dir/test/contact.html > > > > But I do want to match: > > /test/contact.html > > > > I tryed this one: > > ^[!dir]/(.*)/contact(.*).html$ > > > > but it does not work and I tryed thousands of other ways plus read > > tutorials. > > > > Can anybody please help? > > ^\/test\/contact.html$ > > Kae > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php