Question: I have a DIV which will contain the content for a website of mine. On the left side there is a menu which has its position set to `float`. When I re-size my browser the container gets under the box and it looks quite bad.

This is how it looks like:
![Bad look](https://i.stack.imgur.com/Lw288.png)

I have tried to put all the relevant HTML and CSS in this fiddle: <http://jsfiddle.net/Dugi/qZ67C/>

How would I make the DIV container have itself getting smaller against the floating menu and not get under it?

Answer: 
The `*` character in a regular expression has a special meaning. To show the Pattern you don't mean for this special meaning, you have to "escape" it. The easiest way to do it is to put your expression through `Pattern.quote()`.

For example:

```
String searchFor = Pattern.quote("***");

```

Then use that string to search
If the three asterisks are not always at the begining of the line, you can use this pattern that removes newlines too:

```
(\r?\n)?[^\r\n*]*\Q***\E.*((1)?|\r?\n?)

```