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

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -

java - Why is BlockingQueue.take() not releasing the thread? -

jQuery Ajax Render Fragments OR Whole Page -