![]() |
|
P is for Practical | |
PerlMonks |
comment on |
( #3333=superdoc: print w/replies, xml ) | Need Help?? |
Problem:
I would like to delete all tab space "\t" new lines "\n " and more than one continuos space " " inside opening and closing tags and replacing them with ONE space per instance. $text = "<tag> The purpose of the applicant rating session is for you, the applicant, to provide a sample of your effective teaching skills.</tag>" The desired result would be: $text = "<tag>The purpose of the applicant rating session is for you, the applicant, to provide a sample of your effective teaching skills.</tag>" In reply to taking white space out between closing and opening tags by chuleto1
|
|