<p>I'm trying to match elements with a name that is <code>'container1$container2$chkChecked'</code>, using a regex of <code>'.+\$chkChecked'</code>, but I'm not getting the matches I expect when the element name is as described.  What am I doing wrong?</p>

try
```
```
string.match( /[$]chkChecked$/ )
```
```
alternatively, you could try
```
```
string.match( /[^a-zA-Z0-9]chkChecked/ )
```
```
( Also, make sure your using
```
//
```
around your regex, otherwise you might be matching using string literals. Not obvious tho without a larger code snippet )