in reply to Re: How do I match lines of 40 characters long in a block of text?
in thread How do I match lines of 40 characters long in a block of text?

Your update isn't really any different than your first crack at it. A dot is equivalent to your character class, [^\n], as long as there is no /s modifier on the regex. A dot means "match any character except for a newline."

-sauoq
"My two cents aren't worth a dime.";
  • Comment on Re: Re: How do I match lines of 40 characters long in a block of text?
  • Download Code