I currently have the following, but would like to know if there's a better way.
This is only a toy problem so non-regex solutions need not apply :) (unless they're interesting)/^a(b(b(r(e(v(i(a(t(i(o(n)?)?)?)?)?)?)?)?)?)?)?$/
Brad
In reply to Abbreviation regex? by bsb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |