Regular expression for comment tag

I have the following regular expression to pick up comments

^[Cc*!]

This only checks if the comment tags start at the beginning if the line

I want that for the '!' tag, a comment can start at any column position. I would consider a comment anything after the !

Example

! This is a comment

       ! This is a comment

int  value    ! This is a comment



---------- Post updated at 06:19 AM ---------- Previous update was at 05:47 AM ----------

I have come up with this expression for highlighting comments that start with '!' till the end of the line.

!.*?

How can I put the two commands together?

That is, how can I put

^[Cc*!]

and

!.*?

together

Use just

!.*

. Ex:

perl -lane '/([^!]*)(!.*)/;print $1."comment-> ".$2;' infile