Alteryx Designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
ALTER.NEXT:

Join us on Dec 2 for a half-day virtual analytics + data science event!
US & CA customers only

SAVE YOUR SPOT
It's the most wonderful time of the year - Santalytics 2020 is here! This year, Santa's workshop needs the help of the Alteryx Community to help get back on track, so head over to the Group Hub for all the info to get started!

RegEx Examples - 12 Handy Use Cases

Highlighted
Alteryx Certified Partner
Alteryx Certified Partner

@priyanka31 

 

don't use regex:

 

FileGetExt

FileGetExt(Path): Returns the extension of the path, including the . (period).

Example

FileGetExt(C:\Temp\Data\file.csv) returns ".csv".

FileGetExt(C:\Temp\Data) returns " ".

FileGetFileName

FileGetFileName(Path): Returns the name portion of the path, without the extension.

Example

FileGetName(C:\Temp\Data\file.csv) returns "file"

FileGetName(C:\Temp\Data) returns "Data"

 

cheers,

 

 mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and reboot. Order shall return.
Highlighted
Alteryx
Alteryx

Looking to parse this out (where the solution will dynamically pick up any subsequent values with a percentage sign and the subsequent 1 or 2 digit numbers) :

 

.5%/10, Net30

.7% 10, NET 30

1%/15, Net 30

 

Returning 2 columns.

Column 1

.5%

.7%

1%

 

Column 2

10

10

15

Highlighted
7 - Meteor

Thanks alot !!!! 🙂

Labels