Can someone help me a quick regex?# Programming - 葵花宝典g*g2008-01-30 08:011 楼For validation purpose.Alphanumberic, no space, underscore allowed.Thanks a lot.
t*t2008-01-30 08:013 楼问题没看明白, 是no space/underscore allowed还是no space, but underscore allowed【在 X****r 的大作中提到】: for one character:: [\w_]: for one or more characters:: [\w_]+
g*g2008-01-30 08:014 楼\w seems to include _, [\w]+ should be enough, thanks anyway.【在 X****r 的大作中提到】: for one character:: [\w_]: for one or more characters:: [\w_]+