in reply to Re^2: What regex changes are needed while creating xml
in thread [Solved]:What regex changes are needed while creating xml
1) Remove these control characters from the file and then print: I have tried this using
perl -pe's/\x08//g' <file1.xml >file1.xml
But this gives error: Bad name after g' at <script_name>.pl line 13.
2) To actually generate an xml (actual .xml file) from code and put the text that is converted in xml into this file and then read it. Do anyone have any suggestions on point 1 or 2?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: What regex changes are needed while creating xml
by hippo (Archbishop) on Jun 25, 2015 at 22:56 UTC | |
|
Re^4: What regex changes are needed while creating xml
by stevieb (Canon) on Jun 25, 2015 at 21:43 UTC |