Question: We are developing an app in Appcelerator Titanium and using PushWoosh to send notifications. We have tried with no success to send a notification that opens an specific page in the app.

Think of an Inbox, where the user gets its messages, when a message is received, a notification shows up notifying the user on the new message, the user clicks it and opens the app on either the inbox or the message itself. The app includes other pages/features besides the Inbox, so far we can open the app after clicking but not the inbox or the message page.

We have looked everywhere for information and we would appreciate it if you can point us to the right direction.

Answer: 
```
^(?!0?0\.00$)\d{1,2}\.\d{2}$

```

You can simply use this.See demo.

<https://regex101.com/r/qB0jV1/10>
So why do you have to beat your self up with a complex regex. Why not a number comparison?

```
function validNum (num) {
   num = parserFloat(num);

   return num > 0 && num < 100;
}

```

Want only two decimal places ?

```
function validNum (num) {
   num = parseFloat((num + "").replace(/^(.*\.\d\d)\d*$/, '$1'));

   return num > 0 && num < 100;
}

```

[Test Here](http://jsfiddle.net/uxocgbqa/1/)

```
.5:      true
..5    : false
.005   : false
0.05   : true
99.99  : true
00.01  : true
00.00  : false
0.00   : false
00.0   : false
100.00 : false

```