Re: Help with global match and replace

2001-11-19 Thread David Wall
[Fixed Jeopardy quoting] [EMAIL PROTECTED] (Martin Pfeffer) wrote on 19 Nov 2001: > FLAHERTY, JIM-CONT wrote: > >> My script dumps file name into a mysql DB on redhat 7.1 linux . The >> problem I have is sometime windows files has a single quote ( ' ) >> in the name. I want to replace it wit

Re: Help with global match and replace

2001-11-19 Thread Martin Pfeffer
$thestring =~ s/'/ /g; martin FLAHERTY, JIM-CONT wrote: > My script dumps file name into a mysql DB on redhat 7.1 linux . The problem > I have is sometime windows files has a single quote ( ' ) in the name. I > want to replace it with a space . I not strong on pattern matching in perl > yet >

Help with global match and replace

2001-11-19 Thread FLAHERTY, JIM-CONT
My script dumps file name into a mysql DB on redhat 7.1 linux . The problem I have is sometime windows files has a single quote ( ' ) in the name. I want to replace it with a space . I not strong on pattern matching in perl yet $thestring = "this isn't a good file name"; Help , thanks in