Parsing a Dynamic URI ?


1 comment

  • Avatar
    Kevin Keech

    You can try using an "or" condition as part of your regex anchors. ie. "?someId=" or "&someId="

    parse regex "(?:&|\?)someId=(?<someId>.{5})"

    If you need to trigger on the page in the URI you can expand the expression to capture more.

    parse regex "\/foo.*(?:&|\?)someId=(?<someId>.{5})"



    Comment actions Permalink

Please sign in to leave a comment.