Jump to content
UBot Underground

Can we use more than one $document text with $find regular expression so it grab more than one regex url ?


Recommended Posts

Can we use more than one $document text with $find regular expression so it grabs more than one regex url ?

I got several different urls to add to a list.

 

Is there a way besides making multiple lists ?

Link to post
Share on other sites

Well I would like to suggest an easier alternative instead.

 

Try to nest the find regular expressing commands inside each other and you'll be right.

 

Here is an example:

set(#result, $find regular expression($find regular expression($find regular expression($document text, "Replace this with Regular Exprssion 1"), "Replace this with Regular Exprssion 2"), "Replace this with Regular Exprssion 3"), "Global")

 

Hope it helps.

 

Cheers!

Praney

  • Like 1
Link to post
Share on other sites

why not use add list to list?

 

add list to list(%results, $find regular expression($document text, "regexphere"), "Delete", "Global")

 

this should grab all urls matching your reg exp. and add each one to your list.... i think this is what you're trying to do anyways.

Link to post
Share on other sites

Yes this is what i do right now but i got a tricky email which has various link possibilities to click on.

So i'm trying to grab all the possibilities under one list.

Link to post
Share on other sites

Well I would like to suggest an easier alternative instead.

 

Try to nest the find regular expressing commands inside each other and you'll be right.

 

Here is an example:

set(#result, $find regular expression($find regular expression($find regular expression($document text, "Replace this with Regular Exprssion 1"), "Replace this with Regular Exprssion 2"), "Replace this with Regular Exprssion 3"), "Global")

 

Hope it helps.

 

Cheers!

Praney

Thanks MATE !

 

wILL TRY THIS FOR SURE

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...