🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

"[SOLVED] Using a loop variable within a regular expression?"

User: "whitfa"
New Altair Community Member
Updated by Jocelyn
Hi there,

I'd like to pass my loop_value into a regular expression (which is in a Crawl Web parameter, which is inside the Loop Values Operator), however replacing my;

.+period-charts.+today.+

with

.+period-charts.+%{loop_value}.+

isn't working.  Any ideas  ???

thanks   :)

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "MariusHelf"
    New Altair Community Member
    Can you please post your process XML?

    Best regards,
    Marius
    User: "whitfa"
    New Altair Community Member
    OP
    I beg your pardon Marius. 

    It appears that this does in fact work, so long as I don't use the Regex builder / helper within the Crawling Rules of the  CrawlWeb process node.  When I try to include the %{loop_value} within the regex helper, it won't let me <Apply> it because it doesn't like the syntax.  I have to do this without the helper, which is fine because it works.  ;D
    User: "MariusHelf"
    New Altair Community Member
    So we can mark this thread as solved :)