Hello guys,
I have list of data that contains IP.
For example : - 10.100.100.100 | 10.100.100.100 | 10.100.100.100 | fe70::100e:100e:ba8e:100e | fe70::100e:100e:100e:100e
10.100.100.100 | 10.100.100.100 | 10.100.100.100 | 10.100.100.100 | 10.100.100.100 | 10.100.100.100 | 10.100.100.100 | fe70::100e:100e:ba8e:100e | fe70::100e:100e:100e:100e
I just want to take the IP and don’t need the “fe80blabla etc”.
Any tips guys?
Thank you.
TimK
(Tim Kok)
April 1, 2019, 10:09am
2
If you know the set structure of string you want to match i.e. IP Address - use Regex to get all of those matches
MAHESH1
(MAHESHKUMAR JV)
April 1, 2019, 10:59am
3
@claudiojody
Use this regex pattern in Matches activity.
\b[^a-z][0-9.]+\b[^a-z]
Regards,
Mahesh
1 Like
it appears the error like “System.Linq.Enumerable+d__95`1”.
Do you know what is going on?
MAHESH1
(MAHESHKUMAR JV)
April 2, 2019, 11:54am
5
@Claudiojody
I tried in Studio with same pattern it’s working fine without any exception in Matches Activity. Can you please Share the xaml , so that we can analyse it.
Regards,
Mahesh
Sorry, I mean its not error but the output like “System.Linq.Enumerable+d__95`1”.
MAHESH1
(MAHESHKUMAR JV)
April 4, 2019, 6:47am
7
@claudiojody
I made some change, try with this xaml and let me know.
IPTest.xaml (9.6 KB)
Regards,
Mahesh
Thanks bro, it works.
I really appreciate it…
Mayyur
(Mayyur)
April 5, 2019, 9:44am
9
try using for each activity
system
(system)
Closed
April 8, 2019, 9:44am
10
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.