in reply to Re^4: Regex to get file name from the path with spaces
in thread Regex to get file name from the path with spaces
#! /usr/bin/perl use strict; use warnings; use utf8; my $input = 'TEXT: "C:\temp\test äbc.txt"'; print $input =~ /.*TEXT:\s+".*[\\]([^\\"]+)"/; # ~ ~ ~ ~
|
---|