Current User: Guest Login Register
Please consider registering


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 3 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

ExtraSectionCondition Exclude

Reply to Post Add a New Topic
UserPost

8:36 pm
November 3, 2010


Roy Childers

Guest

I have created an extra section using this option:

ExtraSectionCondition1="URL,MemberCenter"

It works great. It finds all url's with "MemberCenter" in it.

I want to exclude all URL's with "Ezine" in it as well.

Find this: index.cfm?section=member&content=MemberCenter

But not this: "index.cfm?section=member&content=Ezine_begin"

What syntax do I use for an exclude?

9:27 pm
November 3, 2010


Jean-Luc

Admin

posts 1063

Hi,

Here is an example:

ExtraSectionCondition1="URLWITHQUERY,abc=MemberCenter&def=(?!Ezine)"

This technique is called "lookahead" in regular expressions. 

10:14 pm
November 3, 2010


rchilders

New Member

posts 1

Great. That worked! Thanks

So I understand for the future, what part of this says NOT or Exclude:

=(?!Ezine)

Reply to Post

Reply to Topic:
ExtraSectionCondition Exclude

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
2 + 3
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 201

Currently Online:
15 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 513
Posts: 2436

Membership:

There are 4127 Members
There have been 254 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
albert_newton – 30
deepakgupta – 28
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: eniko, leptserkhan, JohnnyB, dweb3d, buck, newtoawstat

Administrators: Jean-Luc (1063 Posts)

Moderators: Jean-Luc (1063 Posts)