Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

How to copy between 2 strings

soncoku
9 - Comet

Hey everyone

I have a column where each row has :

a link , and IP a username a password and port number

they are only separated by spaces

 

I need a regex formula that would copy the text between these 2 exact words:
IP:   xx.xx.xx.xxx user

everything that is between IP and user.

 

Any ideas? 

22 REPLIES 22
soncoku
9 - Comet

Actually none of them works when I put them in my workflow 😕

I want to disregard everything else and only get that ip

@atcodedog05 

atcodedog05
22 - Nova
22 - Nova

Hi @soncoku 

 

I have posted a second solution try that.

soncoku
9 - Comet

not working, there are also other numbers, characters in that same row.

 

All I want is the IP address that is between the word: ip:  and user and drop every other character or number

atcodedog05
22 - Nova
22 - Nova

Hi @soncoku 

 

Output:

atcodedog05_0-1604914184597.png

 

Its working for me. Can you try this.

soncoku
9 - Comet

@atcodedog05 still not working 😕

@messi007  not working

atcodedog05
22 - Nova
22 - Nova

Hi @soncoku 

 

Is it like working for some cases and not for some cases. If yes let me know the cases for which its not working

soncoku
9 - Comet

it's not working for any of them 😕

atcodedog05
22 - Nova
22 - Nova

But it's working for one of the example you gave.

 

Strange

soncoku
9 - Comet

@atcodedog05 can you make it so that it would copy 12 chars after IP:

atcodedog05
22 - Nova
22 - Nova

Ok

 

Labels