in reply to Re: Match a string that can contain a carriage return in a random position.
in thread Match a string that can contain a carriage return in a random position.

In that case the regex would have look like this:
/c\n?n\n?=\n?([^,]*)\n?,\n?…
etc, etc. One suggestion is to take the basic regex above and auto-generate the necessary one by interpolating optional newlines after each character, but I think the poster is looking for a neater hack. I wish I could think of one!

  • Comment on Re: Re: Match a string that can contain a carriage return in a random position.
  • Download Code