Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5970801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T20:25:36+00:00 2026-05-22T20:25:36+00:00

i have a unique challenge. i want to create a google analytics filter for

  • 0

i have a unique challenge.

i want to create a google analytics filter for a custom variable that only returns a value if the given string is smaller or equal than ‘001700’. yeah, i know that a string can’t be smaller, still i need to find a way to make this work.

oh, and if you ask: no there is no way to convert that string to a number (according to my knowledge – via a google analytics filter – and that is what i have to work with in this case).

so basically, i have

000000
000001
000002
000003
...
...
999998
999999

and i need a regular expression that matches

001700
001699
001698
...
...
000001
000000

but does not match

001701
001702
...
...
999998
999999

sub question a) is it possible? (as i have learned, everything is possible with regExp if you are clever and/or masochistic enough)

sub question b) how to do it?

thx very much

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T20:25:36+00:00Added an answer on May 22, 2026 at 8:25 pm

    You can do:

    ^00(1700|1[0-6][0-9]{2}|0[0-9]{3})$
    

    See it

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have several tables whose only unique data is a uniqueidentifier (a Guid) column.
I have to write something in vbscript that need to use a unique set.
I have a field in a database that is nearly unique: 98% of the
I have a 100 classes that have some similar elements and some unique. I've
I have a Tags table whose schema consists of only ID and Name (unique).
I have an array of hashes, and I want the unique values out of
I have a list of about a hundreds unique strings in C++, I need
I have some data files to import into a database with some unique delimiters:
I have a situation where I need to add an arbitrary unique id to
Our VSS setup is like this: We have a set of unique folders with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.