Question: I've a variable named var `text = 'Saif'`

So how can I check the first character of this value (S) is a letter, number or special character??

I've already tried with the code bellow -

```
var text                = 'Saif'
var char                = /[A-Z]/g
var num                 = /[0-9]/g

if (text.match(char)) {
    console.log("The string starts with Letter")
} else if (text.match(num)){
    console.log("The string starts with Number")
} else {
    console.log("The string starts with Special character")
}

```

It's working fine with the condition of letter and number. But I can't being able to find the special character instead of letter or number.

How can I do that?

Answer: 
While searching for an answer I tried to find something from the devs of the apps that I saw this feature working. I found [this article](https://willowtreeapps.com/ideas/an-introduction-to-android-instant-apps) and I notice only two differences from what I was doing:

1. `android:order="1"`, I never used so I looked to see what does and as far as I understood, in case of deep link that can be access by multiples apps this can give "priority" to yours. The default value is 0.
2. `android:pathPattern="/item/.*"` I was using "android:pathPrefix" on mine without .\* in the end. Since my url also has params I decided to try this modification.

* One thing that I notice is that even after published, wasn't working instantly, since I had a weekend when I tried on Monday was working, so apparently there is also some indexing time from the GooglePlay.

My test app is on Internal Testing and is working.
I had the same problem, and it was because I didn't have `android:targetSandboxVersion="2"` in my application tag.