i need a regular expression to match a single word starting with m(...followed by any text but not space and )containing Manager
-
i need to find the strings like below mTimerManager mAutolockManager but not like mv this is comment timerManager
anand sunku
-
i need to find the strings like below mTimerManager mAutolockManager but not like mv this is comment timerManager
anand sunku
And? What have you tried, and where are you stuck? "I need..." is not a question.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
i need to find the strings like below mTimerManager mAutolockManager but not like mv this is comment timerManager
anand sunku
You did not define which regex you are working with. Your definition for the 'word' is anything except a space. Which is not really what 'word' generally means. But that is what I used. In perl.
m[^ ]+
The above will match the following (because that is the definition of 'word')
m&extra---stuff.
It is also limited with the following since, again with the definition of word, it is not clear what might be expected
mFirst,mSecond