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
Post a Comment