Hi ,
please help me with regex expression to capture the data in below part which is in bold and underlined.
Hi @Ashwini008,
Please try below;
| rex "\.(?<filename>.+)\.\d{14}"
Try this:
| rex \.(?<filename>.+\.\w+\.1)
@manjunathmeti This isn't applied to my other format files like below
c+d.zptumike.ccapd1fo.600.2.20210127020002.gpg
e+0.in_zpiyintl.truntaxi.600.1.txt.5.20210127020002.gpg
can you help with regex which applies to all the mentioned format?
Try this:
| rex "\.(?<filename>.+\.\w+\.\d)\."