[jQuery] help with regex? converting plain text with line breaks to <ol> with <li>s
It's a bit off topic, perhaps, but using jQuery I want to get the
contents of a plain text file, and convert each line to a list item in
an ordered list. Being a designer, the regular expression syntax just
stumps me... \n\r\???
Can anyone nudge me in the right direction?
rolfsf