Web Analytics Made Easy -
StatCounter RegEx problem: Grouping and Sequence - CodingForum

Announcement

Collapse
No announcement yet.

RegEx problem: Grouping and Sequence

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • RegEx problem: Grouping and Sequence

    Hi. I have two groups in my RegEx, let's call them A and B. How do I say in RegEx that either A or B or both of them can occur in any order (meaning, it can be A alone, B alone, AB, or BA)? And what if I have more than two groups?

    Thanks.

  • #2
    based on how you search for A or B the grouping order will strictly follow the left to right rule
    You never have to change anything you got up in the middle of the night to write. -- Saul Bellow

    Comment

    Working...
    X