Supermetrics Support Forum

Solved

Regex version for calls

Greetings, I am calling against the ADOBE analytics and I have the following Regex statement that from my experience should work but your system said no results (I have manually tested it against potential results and it works).


(^https:\/\/www\.company\.com\/)(?:(mlb|nfl))(?:.*(mlb|apparel|hats|jerseys|shirts))$/gim

  • Hi,

    As the g-modifier for global search is not supported in our backend, it seems that it is making the expression not to run.

    And, the syntax for using forward slashes usually begins with a forward slash if there is one separating the modifiers, so the expression should be - 


    /^(https:\/\/www\.company\.com).*(\/nfl|\/mlb|\/apparel|\/hats|\/jerseys|-shirts)$/m



    Best regards,

    Nebiat Ibssa

    supermetrics.com


    Twitter: @Supermetrics 

    Support forum: support.supermetrics.com

Login to post a comment