SOLVED
Trim the Field
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
JC_dup_130
5 - Atom
‎03-15-2017
02:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I have to trim this data :[{"lat":"44.88383725", "lon":"-93.28145902"}] and have values in two separate columns.I used Parse and multifield formula too but no use.Could you help me with suitable Reg exp or any other way to get only values.
Thank you
Solved! Go to Solution.
3 REPLIES 3
20 - Arcturus
‎03-15-2017
02:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Use the RegEx tool. Set the Output Method to Parse.
(\d+\.\d+).*?([-]*\d+\.\d+)
That should do the trick.
- Output 1:
- 1 or more digits
- followed by
- A decimal place
- followed by
- 1 or more digits
- 1 or more digits
- Junk
- Anything
- Output 2:
- 0 or more negative signs
- followed by
- 1 or more digits
- followed by
- A decimal place
- followed by
- 1 or more digits
- 0 or more negative signs
Cheers,
Mark
Alteryx ACE & Top Community Contributor
Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
‎03-15-2017
02:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks a lot.It really did the trick.I take a bow.
20 - Arcturus
‎03-15-2017
03:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You can adjust the data types.
Bowing 🙇 back.
Bowing 🙇 back.
Alteryx ACE & Top Community Contributor
Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
