Removing URL's with Regex
« on: July 02, 2014, 02:29:55 AM »
I use regex buddy and I can pick many versions of regex to test with.  So, what version of regex is being used in this program?

I normally use the javascript version but it doesn't seem to be working with the sitemap generator.  Here are the links I want to exclude

[ External links are visible to forum administrators only ]

and the regex I used was /content/([0-9]{3})-([0-9]{6})

[ External links are visible to forum administrators only ]

and the regex I used was /content/([0-9]{3})-news([0-9]{6})

both regexes were in the exclude url section.

Please tell me what I am doing wrong.  Thanks,

Randal
Re: Removing URL's with Regex
« Reply #2 on: July 02, 2014, 05:19:36 PM »
I guess I am not following what you mean.  I changed the entries to

.*/content/([0-9]{3})-([0-9]{6})
.*/content/([0-9]{3})-news([0-9]{6}) but they are still being included.

Kindly, show me the complete url if you don't mind.

Thanks,
Re: Removing URL's with Regex
« Reply #3 on: July 03, 2014, 06:21:32 PM »
Please try this:
content/([0-9]{3})-([0-9]{6}).*
content/([0-9]{3})-news([0-9]{6}
Re: Removing URL's with Regex
« Reply #4 on: July 07, 2014, 09:06:28 PM »
I tried your suggestion but i still get the same urls included.  Please help.
Re: Removing URL's with Regex
« Reply #5 on: July 08, 2014, 05:24:43 AM »
Hello,

I've defined it like:
content/\d\d\d-\d\d\d\d\d\d
content/\d\d\d-news\d\d\d\d\d\d

please check now.
Re: Removing URL's with Regex
« Reply #6 on: July 09, 2014, 01:03:52 PM »
That did it.  Thanks for the great service.