Fellow Estemmed Monks
I bleieve the title is correct
Given a input:
Hello, my name is barry I am 20 I am webmaster of lsrfm.com its a student radio station
What I want to to is, remove the return carriages and repalce them with <br&rt; or </p&rt;<p&rt;
So could a fellow monk advise on how to search a ref. and replace, and also what should I search for as, I am not sure what the return carriage character is
Further more the input listed is in:
my $text = "above"So, basic program
my $input = "Hello, my name is barry I am 20 I am webmaster of lsrfm.com its a student radio station"; 'some process replacing return chars. with </p&rt;<p&tk;'
As when placing the text on a page, intially obtained from a form on a webpage, where it is a textarea, it does not format the same way as it does in the text area.
Similar to this perl monks text area, but the users dont put html tags in!
Yours
In reply to Search a perl reference and replace characters by barrycarlyon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |