Hi guys
Am at a bit of a loss atm with a regular expression i am trying to get working. Basically i need to remove the #server_name# from all links but only if the href is not inside a <base> tag. This is what i have REReplaceNoCase(string, '(?!base )href="http://#server_name#"', 'href=""', 'ALL') So basically if there IS NOT a "base" before the href then replace the href with an empty href but it seems to be doing it regardless of if there is a "base" string before the href. Any ideas? Steve ======= Email scanned by PC Tools - No viruses or spyware found. (Email Guard: 7.0.0.21, Virus/Spyware Database: 6.16080) http://www.pctools.com/ ======= -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
