in reply to Replacing a pesky pair of quotes.
Prints:#!/usr/bin/perl -lw use strict; use warnings; while(<DATA>){ chomp; my @data = split /\t/; my $ddrul = $data[7]; $ddrul =~ s/\"//g; print "'$ddrul'"; } __DATA__ EST-NY 234 5-Oct Springfield MA Springfield College +Townhouse Conference Room http://www.spfldcol.edu/home.nsf/welcome +/visit/directionsc EST-NY 923 18-Oct Salisbury MD Wor Wic Community Colleg +e http://www.worwic.edu/campus/directions.pdf EST-NY 886 19-Oct Frederick MD Hood College http +://www.hood.edu/welcome_to_hood/index.cfm?pid=_maps.htm#a1 SW 328 19-Oct Houston TX University of Houston - Clear +Lake "http://prtl.uhcl.edu/portal/page?_pageid=328,217631,328_ +217645&_dad=portal&_schema=PORTALP"
'http://www.spfldcol.edu/home.nsf/welcome/visit/directionsc' 'http://www.worwic.edu/campus/directions.pdf' 'http://www.hood.edu/welcome_to_hood/index.cfm?pid=_maps.htm#a1' 'http://prtl.uhcl.edu/portal/page?_pageid=328,217631,328_217645&_dad=p +ortal&_schema=PORTALP'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Replacing a pesky pair of quotes.
by hmbscully (Scribe) on Aug 11, 2005 at 20:32 UTC | |
by Transient (Hermit) on Aug 11, 2005 at 20:40 UTC | |
by hmbscully (Scribe) on Aug 11, 2005 at 20:50 UTC | |
by chibiryuu (Beadle) on Aug 11, 2005 at 20:56 UTC |