Question: I need a regex for a float number positive or negative with a maximum of 3 numbers before the decimal separator and 6 (only 6) numbers after.

Can anyone help me?

Answer: 
In JavaScript - this will match what you want. But without further clarification there's nothing more to be done:

```
/[+|-][0-9]{0,3}\.[0-9]{6}/g

```

Cheers.
It's Perl regex flavour.

For java script : `/[+|-]\d{1,3}\.\d{6}/`

For java : `"[+|-]\\d{1,3}\.\\d{6}"` /\* Use pattern and matcher in java.util.regex.\*/