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

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -