extracting all comments from the script editor<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />Hi All,
I have a long script that and would like to copy-paste all the comments in it to a Word document.
is there a way of selecting just the comments? or is it just deleting manually all the actual commands after pasting into word?
thanks,
ron
Re: extracting all comments from the script editorThank you msharp ,
This is very useful.
Re: extracting all comments from the script editorSince JSL files are just text files, there are several comment parsers out there you can easily google. Here's a good blog post on using regex to find comments in code:
Finding Comments in Source Code Using Regular Expressions – Stephen Ostermiller