Jump to content
UBot Underground

Help regex code


Recommended Posts

hello every body...

 

i have list -> hand tattoos tumblr:simple hand tattoos tumblr,tree hand tattoos tumblr,side hand tattoos tumblr,rose hand tattoos tumblr,guy hand tattoos tumblr,flower hand tattoos tumblr

 

and then I would like to take the hand tattoos tumblr without : so the result will be like hand tattoos tumblr 

 
what the regex code?
Link to post
Share on other sites

 

hello every body...

 

i have list -> hand tattoos tumblr:simple hand tattoos tumblr,tree hand tattoos tumblr,side hand tattoos tumblr,rose hand tattoos tumblr,guy hand tattoos tumblr,flower hand tattoos tumblr

 

and then I would like to take the hand tattoos tumblr without : so the result will be like hand tattoos tumblr 

 
what the regex code?

 

Hi.

 

If you want to learn regex I highly recommend:

http://www.ubotstudio.com/forum/index.php?/topic/15905-sell-learn-regular-expressions-video-course-2-hours-of-content/?hl=regex

http://www.ubotstudio.com/forum/index.php?/topic/13979-sell-regex-builder-build-regular-expressions-for-ubot-with-ease/?hl=regex

 

Cheers

Dan

Link to post
Share on other sites

this is how i would do that as if i get you right your just wanting the text (hand tattoos tumblr) if so look at the below this is how i would do it 

 

 

set(#start"hand tattoos tumblr:simple hand tattoos tumblr,tree hand tattoos tumblr,side hand tattoos tumblr,rose hand tattoos tumblr,guy hand tattoos tumblr,flower hand tattoos tumblr""Global")

set(#before$find regular expression(#start"hand tattoos tumblr:"), "Global")
set(#after$find regular expression(#before"hand tattoos tumblr"), "Global")

 

 

So basic get your text from where ever your getting it etc... i just set to show example then i find it easy to regex for hand tattoos tumblr:   then set it then reg that Var to get hand tattoos tumblr with out the ( :

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