I need the to convert the input address to specified format
#!/usr/bin/perl my $file_path =\"\\\\\\abc.com\\a\\t\\temp\\L\\\\\"; #---- Help in this regex $file_
If your \ in my $file_path are not the escape characters,
\
my $file_path
s/^\\\\|\\\\$/\\/g