Canyou please tell me what the below regular expression represents.

```
/([a-zA-Z0-9_$]$)/i

```

because when using this expression it is returning error if space is there in the value 

can any one pls help me how to resolve that error.

This is the function i am using in jquery 

```
function RestrictChar(theValue) 
{         
    var regulare = /([a-zA-Z0-9_$]$)/i;
    return regulare.test(theValue);        
} 

```

Thanks in advance.