SOLVED
Numbers in a string format
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
BarleyCorn
8 - Asteroid
‎06-11-2018
07:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello Alteryx Community!
I have a large column of string data that has randomly occurring numbers (for example 88.214.193.98) - column is defined as a string in the select tool.
I want to filter (or regex) out all the numbers and just have a true string column, see attached excel - the "domain_name" column.
Thanks!
Solved! Go to Solution.
Labels:
- Labels:
- Preparation
2 REPLIES 2
ACE Emeritus
‎06-11-2018
07:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You can use the regex_match() function within the filter tool to filter out values based on a pattern.
What this pattern is should be defined by yourself, but something like the below will filter to create two streams, one which has characters in and another which has only numeric type domains in.
.[[:alpha:]].+
See attached example.
Ben
‎06-11-2018
08:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks Ben,
Worked a treat!
