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

Edit
Report