Filename extraction with regex -
i need able extract filename (info.txt) line like:
07/01/2010 07:25p 953 info.txt
i've tried using this: /d+\s+\d+\s+\d+\s+(?.?)
/, doesn't seem work ...
\d\d:\d\d\w\s+\d+\s+(.*?)$
$1
file name
the problem original regex forgets special characters :
, /
, , (?.?)
means nothing...
Comments
Post a Comment