I have an input coming from scrolling textbox eg. $description = qq~ This is my description. Here goes a couple of headings in it Heading abc: this is the heading one and needs to bold and underlined Heading xyz: needs to bold and underlined too. description continues here ~;
I am producing HTML files from input. I need to underline and make bold these headings when the output is generated. Any ideas how to extract and make the changes in headings only for output? The two definate markers for these headings are there is always a line break before and after the heading and it always contains the colon at the end : Thanks for any input Sara.