Can Javascript do these sorts of
regular expressions:

1. Transpose individual characters in a string
swop ewAr455MN for 12345ABCD, where 1 becomes e,
2 becomes w, 3 becomes A and so on?

2. Reverse a string?

Is there tutorial that explains how to do this

I can do this in Perl, but the JavaScript
tutorials I've found don't seem to offer these

Any clues gratefully received.