I have a string which includes line breaks in java .I need a regular expression to match any characters including line breaks.
Here is the string:
String s= "Hello World".(line break)
Note= amount"
I am using this (.*?)
but it won't match line breaks.