JavaScript Regexp Match Any Character Including New LineDot start matches (almost) any character... if you need to match new lines, thou, your regexp might break.(.*+) The following matches all characters, including new lines: ([^]+)