The conditions of the regex are as follows:

Starts with either digits or a '+' sign and ends with digits.

This is going to be used to validate a certain type of number. What I got so far is:

```
/^\d*|\+\d*$/

```

This regex seems to match any string though. How would a regex that matches my conditions look like?

The regex will be used in a JavaScript function.