Regex Text Trim

Hi guys.
Need some help here,
I want to extract onlt name after last “”

From this,
C:\Users\user\Desktop\File\Data\Excel\23 Chillax Cafe.xlsx
to
23 Chillax Cafe

thank

Hi,

Do you want to extract filename without extension? If so, the following helps you.

System.IO.Path.GetFileNameWithoutExtension(strFullpath)

Regards

3 Likes