Hello @sunil-kumar and All,
Not difficult with regular expressions ! So :
Open the Replace dialog ( Ctrl + H )SEARCH (?-s)(.+)\R
REPLACE *\1*\x20
Select the Regular expression search mode
Move your cursor to the beginning of your list of files
Click several times on the Replace button or once, only, on the Replace All button
Voilà !
Notes :
As usual, the (?-s) modifier means that the regex dot character ( . ) represents a single standard character
Then, the part (.+) stands for any non-empty range of consecutive standard characters, which is stored as group1, as embedded in parentheses
The last part, \R matches any kind of line-break ( \r\n, \n or \r )
In replacement, we rewrite an asterisk, followed by the filename ( group1 ), followed, again, with an asterisk and, finally, with a space character ( \x20 )
Best Regards,
guy038
P.S. :
A small drawback is that the last file, of the unique line, is, of course, followed with a space char, too !