Forum Discussion

Pakhi's avatar
Pakhi
New Contributor III
4 years ago

Filename.replace(/^.*[\\\/]/, '') -: explain the expression

Hi can anyone make me understand the below expression. FileName.replace(/^.*[\/]/, ‘’)