SOLVED
Data cleaning
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
rajputakansha
8 - Asteroid
‎10-24-2019
02:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi all,
I have a column that has all numerical values. But there are some special characters too that I am trying to strip out.
Input:
",
",
23
34
45",
",
56",
",
78
I need it to be:
23
34
45
56
78
Can anyone help me in achieving this in RegEx. Or any other way possible?
Thanks
Solved! Go to Solution.
2 REPLIES 2
17 - Castor
‎10-24-2019
02:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
If you just want to strip out punctuation use the Data Cleansing tool under the Preparation Tab.
Cheers,
‎10-24-2019
02:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks for your reply.
I figured out 2 more ways to do this.
1. REGEX_Replace([Field], "[\D]", "")
2. Replace([Field],'",',"")
Yours one is obviously the easiest one. 🙂
Thanks
