REGEX
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
So,
I am using this
!REGEX_Match([City],'^(\s*|\d+|[^\w\s]+)$')
to show this if OWNER-CITY field is null, only spaces, contains a number, or is only a symbol(s) move entire record to separate tab “Manual Review”
I am only trying to flag it then I can move it to another tab but its NOT picking this one: 1PEWAKEE
Why? it seems to be flagging all but this one?
thanks
Solved! Go to Solution.
- Labels:
- Reporting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Try the following
!REGEX_Match([City],'^(\s*|\d+|[^\w\s]+|\w*\d\w*)$')
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@hi2019
this should work
!REGEX_Match([City],'^(\s*|\d+|[^\w\s]+|\d\w*)$')
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
This will avoid RegEx, may be easier to understand and maintian:
IF IsEmpty(Trim([f1])) OR
Contains([f1], "0123456789") OR
!Contains([f1], "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ",0)
THEN 1
ELSE 0
ENDIF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks!
What is the best way to learn these? what tool do you use if any?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I typically use www.regexr.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
regex101.com is also a good website
