in reply to Re: simple regexp problem
in thread simple regexp problem
/^([a-zA-Z0-9+])(?:_(\w+))?$/
or
/^((?:(?!_)\w)+)(?:_(\w+))?$/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: simple regexp problem
by jeanluca (Deacon) on Dec 06, 2005 at 13:36 UTC | |
by ikegami (Patriarch) on Dec 06, 2005 at 15:31 UTC |