Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Remove only special characters and junk characters from a file

Reply
Thread Tools

Remove only special characters and junk characters from a file

 
 
rvino rvino is offline
Junior Member
Join Date: Aug 2007
Posts: 3
 
      08-14-2007
hi
i want to know , how to remove only special characters(- , \ ]) and junk characters(<< >> . etc) from a file without removing white spaces and any other charac or numbers and also not affecting the file formats


PG TEMPLATE SSN PATIENTDOB PATIENTNAME ADDRESS1 HOMEPH WORKPH SEX MARITAL MEDREC RELNAME EMERGPH1 GUARANTOR GUARADDRS1 GUARZIP EMPNAME ADDRESS2 EMPZIP GUAREMPLOYER GUARADDRS2 GUAREMPZIP INS1POLNO INS1GRPNO INS2POLNO INS2GRPNO
2 PR-PN-BSI-CHG-ERMA1 **? t if f n 98364983 PANARESE.JOSEPH S 98364 c/, I/O, PAT HPK LEFKOWITZ, DAVID 98364983 98364 / / U J

3 PR-PN-BSI-CHG-ERMA1 7 MD N m D 102 PAT HPK M 98364 Date / Signature N 98364 I I fl I
4 PR-PN-BSI-CHG-ERMA1 . / r m D UJ FtlCH.I 98365 Date / -s 4 98365 Slgnafure 4
5 PR-PN-BSI-CHG-ERMA1 / MD m D 04 IZSAK.CARL Acute Pain Management Assessment Form 98365 / MD ery IZSAK.CARL 04/76/1940 98365 M.

6 PR-PN-BSI-CHG-ERMA1 _ MD I m w / {I "s. /? w J t 1 •Signature J •Signature I
7 PR-PN-BSI-CHG-ERMA1 ,' 7. 7 . m $ 07 DRESCH .WALTER Acute Pain Management Assessment Form 98365 rL i -U 98365 C r>. i Pharmacological Only D or Non-Pharmacological D f
8 PR-PN-BSI-CHG-ERMA1 .- / i m. D 9836.5211 PATSP 98365 { i u 98365 t 1 t 1

9 PR-PN-BSI-CHG-ERMA1 ^ / d 6630 F PA 98365 oPh S ign a ture,^"-"*1^ t 98365 Jf > Jf >
10 PR-PN-BSI-CHG-ERMA1 1 ? 1 m D 97-44-44 MEROLA.MICHAEL PATH 98365 ? r »t« 98365 jl, c^sk Vic^r t jl, c^sk Uc^r- t

11 PR-PN-BSI-CHG-ERMA1 --1 ( -~v t s j* 9836* Non /tk / .«- / ? (^ r 9836* ve /- Ne L
12 PR-PN-BSI-CHG-ERMA1 I* r ling hj r M R M Acute Peiin Management Assessment Form 98365 w i *ii i 98365 j ain Consult
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
remove special characters in front of the file names wong_powah@yahoo.ca Perl Misc 8 01-09-2008 08:29 PM
Re: remove special characters from line Chris Rennert Python 1 07-02-2003 01:05 PM
Re: remove special characters from line Bob Gailer Python 0 07-01-2003 07:22 PM
Re: remove special characters from line Egor Bolonev Python 2 07-01-2003 04:15 PM
Re: remove special characters from line Radovan Garabik Python 0 07-01-2003 03:14 PM



Advertisments