regex
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
yilingchen02
8 - Asteroid
‎07-06-2023
12:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi there, I have a column that looks like this
COE_12345-abc-def.xlsx
ROA_abtee-ecb-dex.xlsx
ABC_rbcw-qbc-abvx.xlsx
How can I isolate the first word before _?
COE
ROA
ABC
Thanks,
Yiling
Labels:
- Labels:
- Alteryx Practice
2 REPLIES 2
17 - Castor
‎07-06-2023
06:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
If you want to use REGEX, select PARSE and type in:
^(.{3})
Otherwise, you can opt for a Text-to-Columns tool for an easier time.
Hope this helps! If it does, kindly mark this reply as the accepted solution.
Thanks,
Cal
Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
17 - Castor
‎07-10-2023
06:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@yilingchen02 did my comment help solve your problem? If yes, could you kindly mark it as solved / accepted solution so that others may find it as well? Thank you!
Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
