Jump to content
UBot Underground

[solved] Selecting and Removing Part of a String


Recommended Posts

I have a list of keywords and results.  I want to delete everything in the second column from the word "results" onward.  I can't seem to figure out how to select that portion of the strings since they are not always exactly the same.  Is there some sort of wildcard I can do or anything?

Any help would be greatly appreciated!

 

For reference, here's a screencap of the table:

 

http://i42.tinypic.com/10e36ma.jpg

Edited by katelynnm
Link to post
Share on other sites

Hi Katelynnm,

 

Try using regex to find only the part you are looking for.  This should point you in the right direction:

set(#results, "4380 results (0.17 seconds)", "Global")
set(#new results, $find regular expression(#results, ".+(?=\\ results)"), "Global")
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...