Jeremy Tregunna wrote:

>
> On 30-Sep-05, at 2:50 AM, Kev Jackson wrote:
>
>> Hi all,
>>
>> I need to escape / in a gsub!
>>
>> eg
>>
>> line = line.gsub!(///, '')
>
>
> line.gsub!(/\//, '')
>
>>
>> Unfortunately I don't know how to escape the / (forward slash) - the 
>> data I'm munging has this in it (annoyingly)
>
Ta very much, I knew it was something like that but I couldn't get it 
quite right

Much appreciated

Kev