Thank you for your help...I apparantly did not proofread my post good enough. One of the main issues I'm having is when the parser encounters the output of "
<Left>, <Right>, and <Del>." Is there some way to mirror the action of these keys before writing to a new output file?
In other words, if I have some text that looks like:
"requested to remove LD for 4.99 .. did tell her if she makes calls that asre L D will be billed before 02/25/02 <Right><Right><Right><Right><Right><Right><Right><Right><Rigany <Right><Right><Right><Right><Left><Left><Left><Left><Del><Del>calls placed she <Right><Right><Right><Right><Right><Right><Right><Right><Right>.. she said she understood ...eg"
Is there some way for the parser to emulate the effect of all those Left, Rights, and Dels (as in overwriting characters when Left is used, or Deleting characters when Del is used, etc.)?
The text files being parsed will be under 50k...is this too much to parse at once, or can I get it all into a single scaler?
Thanks again!
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.