Hi, I need some help with Regex. I’m trying to write an expression that extracts the file extension for a file being uploaded. So for e.g.
- Sample.pptx should extract .pptx
- Sample.pdf should extract .pdf
- Sample.doc should extract .doc
(the extension could be four or five characters .doc or .docx including the period)
I tried passing the filename into the expression and used the Extract with Regex operator
but the custom state I pass this value into is blank. I tried extracting and saving (what I thought would be) the extracted text to the database and that’s blank too.
Could use any help on how to accomplish this.