I assume you want to ditch this page break char. First you need to identify it, then you just sub it out. Here is a snippet to identify the chars in a string according to their octal escape code. Just cut and paste a snippet of your text that includes the escape char or similar to get a sample of it into a variable. In the example you can see the two "\n" chars - they are \012 in octal. Anyway once you identify the char code for this errant control char just stick it in the regex and it should be fixed.
$text = "Hello\nWorld\n"; for (split//,$text) { printf "\%03o\n", ord $_; } $text =~ s/\012/\n\n\n/; print $text;
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In reply to Re: Page Break Characters
by tachyon
in thread Page Break Characters
by blacksmith
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |