byronc 0 Posted November 19, 2017 Report Share Posted November 19, 2017 Hi everyone! I'm having trouble removing parts of a specific part of text which I have set to a variable. Please help me Quote Link to post Share on other sites
byronc 0 Posted November 19, 2017 Author Report Share Posted November 19, 2017 What I'm trying to do is scan a number on a page and retype it somewhere else. So for example, if a page said 400 pointsI want to copy that 400 (without the text "points")and paste the 400 somewhere else Quote Link to post Share on other sites
Varo 28 Posted November 19, 2017 Report Share Posted November 19, 2017 you can use regex function find regular expressionorreplace regular expression 1 Quote Link to post Share on other sites
Sanjeev 46 Posted November 20, 2017 Report Share Posted November 20, 2017 Like Varo said your best bet would be - regex. So for example, if a page said 400 pointsI want to copy that 400 (without the text "points") A Replace Regular Expression function would help here.. also , this is a good free plugin for text extraction - http://ubot-plugins.com/free-string-management-plugin/ Finally a simple replace - http://wiki.ubotstudio.com/wiki/Replace combined with trim function might help in simple situations like the one you mentioned. 1 Quote Link to post Share on other sites
byronc 0 Posted November 20, 2017 Author Report Share Posted November 20, 2017 Thanks! Very helpful! Solved my problem Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.