none
Is this correct b/c is not giving me expected result?

    Question

  • I am trying to get File Extension in SharePoint Workflow using Regular Expression.

    (?<=\.)([^\\/.]*)$

    This regex gives me filename with dot. for example....

    "This is my word file. docx"

    result is

    "This is my word file."

    But I need to capture docx or doc or xls or pdf whatever the file extension is.

    Wednesday, August 21, 2013 2:52 PM

All replies

  • I tried this but it only gives me file name without the extension. I need to get hold of the extension.

    \.[0-9a-z]*.$


    Wednesday, August 21, 2013 4:43 PM