in reply to Please correct me in the above regular expression

Same monk, same problem as Unable to find my mistake and all six other threads started by suvendra123 so far.

Regular expression to match

int abc;

.abc(abc)

above as input and below as output is

.abc

(abc

abc

is

[\.(]abc

Please correct me

Please do not open new threads for old problems.

Show at least a little bit of respect for people trying to help you by reading and understanding the answers you were given before.

Perlmonks is not a code writing service, you are expected to learn from the answers you were given.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)