Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Regex - Find the word that has FF in part of it

MahmudSaniat
6 - Meteoroid

Hi,

I have a string with multiple words, and trying to identify the word with FF in it.

 

E.g. "I am a FFN customer" - from this string I want to create a column with value FFN.


Thanks for the help.

5 REPLIES 5
MilindG
12 - Quasar

MilindG_0-1663945780573.png

 

MahmudSaniat
6 - Meteoroid

Hi,

Thanks for the attempt.

Perhaps we are only few inches away ...

There is no guarantee that the word will be in this format:

 

FFN, FFT

it can be GFF, HFF33 etc.

Thanks

mceleavey
17 - Castor
17 - Castor

Hi @MahmudSaniat ,

 

if you provide some representative data we can build some different methods depending on how your data is structured.

 

M.



Bulien

MahmudSaniat
6 - Meteoroid

Hi,

I have data in this format:

RandomWords<optional space>RandomLetersFFRandomLetters<optional space>RandomWords

I want to fetch the last letter before FF together with the FF ... like:

FARHAN SFF --> SFF
ASIF PFF96 --> PFF


Thanks for the help.

Emmanuel_G
13 - Pulsar

@MahmudSaniat 

 

Find in attachement a way of doing that.

 

Emmanuel_G_0-1663949502640.png

 

Labels
Top Solution Authors