Skip to content

Instantly share code, notes, and snippets.

@asika32764
Last active September 2, 2021 21:49
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asika32764/9268066 to your computer and use it in GitHub Desktop.
Save asika32764/9268066 to your computer and use it in GitHub Desktop.
@curtisblackwell
Copy link

Thanks for this! Saved me some time.

@webNeat
Copy link

webNeat commented Jul 22, 2018

Thank you. I ended up using this /\s(?:\/\*(?:[^*]|(?:\*[^\/]))*\*\/)\s/g to have all comments in a file. I guess the \n parts can be safely removed from the expression 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment