Results 1 to 5 of 5
May 15th, 2005, 01:55 PM #1Regular Expression Help
Here's what I'm after:
There's actually several lines of code, but this is the only line that will be different, the other lines are exactly the same on every page.
I'm going to do a multiline search and replace and remove all of the code. So basically I need a regular expression to match anything inside of countpage();. Or anything I can do to that line to make it matchable.
The code is included in over 200 pages so I prefer to not have to edit each one by hand. I've tried a couple of things with my limited R.E. knowledge but the program hit on nothing.
May 16th, 2005, 02:36 PM #2
May 16th, 2005, 02:41 PM #3
You're probably having problems with the parenthesis, because they're special characters. Try using \( and \) instead.
May 16th, 2005, 07:25 PM #4
- Join Date
- May 11th, 2005
There is a useful program called "The regex coach" that allows you to step through and see exactly how your regex is matching or not to a test string. This is how I check and understand all regex issues now.
May 16th, 2005, 07:33 PM #5
By Bestie711 in forum Newbie Affiliate FAQs & Helpful ArticlesReplies: 12Last Post: July 2nd, 2014, 10:03 AM
By Eric Ewe in forum Midnight Cafe'Replies: 16Last Post: January 1st, 2008, 08:33 AM
By Howard Gottlieb in forum Midnight Cafe'Replies: 4Last Post: August 9th, 2007, 07:09 PM
By gkudasz in forum Commission Junction - CJReplies: 2Last Post: January 26th, 2003, 12:12 PM