Hi all,
I want to parse a string so that all the lines of text are wrapped in
<li></li> tags.
This I can do :
(^)(.{2,}?)($)
However after this I want to find a a line that begins with an unusual
character and not wrap it.
This is because you get a few lines of text, the bullets, followed ,
occassionaly by a * which has more details.
You know how your mind goes blank when doing regular expressions ? well I've
got that ;)
Thanks in advance,
Chris.
see example text below
Conditions the coat whilst giving a long lasting shine
Helps repel grass stains and soiling of the coat
Does not make the coat greasy
New, individual and convenient, single use impregnated wipe
Handy for shows
Wipe over the coat for immediate results
Key ingredients: silicone shine agent, citronella* oil
*Citronella - essential oil used primarily as a natural insect repellent.