Regex for removing leading and trailing carriage returns and line feeds from a sentence.

Posted by RasputinJones on Stack Overflow See other posts from Stack Overflow or by RasputinJones
Published on 2010-03-31T05:24:53Z Indexed on 2010/03/31 5:33 UTC
Read the original article Hit count: 159

Filed under:
|

Also is it possible to combine this with removing periods from within the string? The sentence may have spaces which I'd like to keep.

© Stack Overflow or respective owner

Related posts about regex

Related posts about strings