Romance movie title problem, can anyone help?

Tools    





"What's movie in which two neighbors hate each other but fall in love online p.s his online screen name is hopless1 and she names herself hopless2? by the way it is similar to You Have Got mail but it is different. During the movie before they fall in love they used to tease each other, and cause neighboring troubles to each other.For example she had a dog that makes **** on his newspaper and he turns the music loud at night. In the end of the movie he thinks that she was gonna marry and he hurries to stop that marriage but finds out it was her friend's wedding. Can any one help me?"



"As Good as It Gets" with Jack Nicholson??