I agree with Horstl. But with the round bracket, it will still return a single mode, so that needs to change to:
Quote:
/^([\+]?[iRmN]\S*)$/))

Last edited by Tomao; 08/06/09 10:14 AM.