You need to sign in to do that
Don't have an account?
PierFrancesco Cardillo - ADMIN
regex - FLOW - used to find part of the string
I'm pretty new and I'm playing with the flows.
I have a subject of the case (generated via mail to the case) that is like this
NRT_N_22F26234-55_pier_T_delivery
It might be also
N_22F26234-55_pier_T_delivery
or
22F26234-55_pier_T_rejected
I would like to extract
22F26234-55
my idea is to use regex expression ([0-9]+F[0-9]+-[0-9]+) to identify the position of the regex string... is it possible???
grazie
I have a subject of the case (generated via mail to the case) that is like this
NRT_N_22F26234-55_pier_T_delivery
It might be also
N_22F26234-55_pier_T_delivery
or
22F26234-55_pier_T_rejected
I would like to extract
22F26234-55
my idea is to use regex expression ([0-9]+F[0-9]+-[0-9]+) to identify the position of the regex string... is it possible???
grazie
Without Apex, you need to have fixed lengths of string before the pattern ( NRT_N_ 6, N_ 2 and zero) and then you search "-". and again "_" with many nested "IF" ( IF 6th char. = '_' extraction of the rest of string used to find "-" ... )
It is very tricky and very restrictive.
With Apex, it is easy.