SOLVED
Replacing specific strings
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
NotQuiteClueless
7 - Meteor
‎07-05-2017
01:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Apologies to all if this is a complete beginners question.
I've got a data source where some of the entries are bogus. Instead of the expected data which is the form of ABC1234, some are eight digit numbers. None of the genuine data are more than 7 characters in length and I've tried to construct a filter based on that but I can't seem to get the syntax right.
Any suggestions gratefully received
Solved! Go to Solution.
Labels:
- Labels:
- Preparation
2 REPLIES 2
KaneG
Alteryx Alumni (Retired)
‎07-05-2017
01:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hey @NotQuiteClueless,
Length([FieldName])<8 should work
The following would also would: Regex_Match([FieldName],'[A-Z]{3}[\d]{4}')
‎07-05-2017
02:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you so much! As with all such things the solution is blindingly obvious once you know it.
