Jump to content
UBot Underground

Recommended Posts

Hello all,

 

I have pulled a list of names using the scrape attribute function but in my list the names appear with a lot of spaces in them for example

 

                                        John                    (spaces after too)

                    Mike

         Sally

                           Carol

 

 

My question is how can I remove all the spaces then use this list as a comparison to say if List item = Mike then do this...

 

 

Thank you 

Link to post
Share on other sites

try

add list to list(%data, $list from text($replace regular expression("                                        John                    

                    Mike

         Sally

                           Carol", " ", ""), $new line), "Delete", "Global")
  • Like 1
Link to post
Share on other sites

Try this:

 

add list to list(%data$list from text($replace regular expression("                                        John                    

                    Mike

         Sally

                           Carol"" """), $new line), "Delete""Global")
plugin command("File Management.dll""remove all from list"%data"^\\s*$")

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...