Loading ...
Sorry, an error occurred while loading the content.

regexp

Expand Messages
  • firstbakingbook
    Is there a simple method that jslint would be happy with for removing all matching substrings like str.replace(/#[^ n]*/g, ) (cutting all text starting with
    Message 1 of 4 , Jul 27, 2012
    • 0 Attachment
      Is there a simple method that jslint would be happy with for removing all matching substrings like

      str.replace(/#[^\n]*/g, '')

      (cutting all text starting with #, from all lines in the input)?
    Your message has been successfully submitted and would be delivered to recipients shortly.