How to make dot match newline characters using regular expressions

Aftektroksifs

New Member
I have a string that contains normal characters, white charsets and newline characters between and . This regular expression doesn't work: \[code\]/<div>(.*)<\/div>\[/code\]. It is because \[code\].*\[/code\] doesn't match newline characters. My question is, how to do this?
 
Back
Top