• Welcome to Sitemap Generator Forum.
 

Removing URL's with Regex

Started by sharingsunshine, July 02, 2014, 02:29:55 AM

Previous topic - Next topic

sharingsunshine

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


sharingsunshine

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,


sharingsunshine

I tried your suggestion but i still get the same urls included.  Please help.

XML-Sitemaps Support

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.

sharingsunshine

That did it.  Thanks for the great service.