KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am trying to write a regular expression which finds all the comments in text. For example all between /* */ . Example: /* Hello */ When I do this: /\*.*\*/ , it behaves odd and nothing is shown. What is wrong with it? EDIT: The comments can be spread across multiple lines
Tags (comma-separated)
Save Edits
Cancel