Hi!
You can do this using Axure’s string functions, which are just like their javascript counterparts. I’ve attached a file below.
If you’ve not used expressions before, I would take a look at this page from the Axure folks. Also, you’ll want to use a local variable for this, so read this post if you’ve not used them before.
Also, if you’re new to conditional logic (if and else if), read this page.
To understand how the substring() and indexOf() functions work, google “javascript substring” and “javascript string indexOf.”
file: password_shortcuts.rp (49.6 KB)