How to match any character in regex -


how can match characters including new line regex. trying match characters between brackets "()". don't want activate dot matches all.

i tried

\([.\n\r]*\) 

but doesn't work.

(.*\) doesn't work if there new line between brackets. 

i have been using http://regexpal.com/ test regular expressions. tell me if know better.

i'd use \([\s\s]*\) in situation.

the [\s\s] match whitespace or non-whitespace character.


Comments

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -