[a-z0-9]+ will match a sequence of characters containing one or more of the set [a-z0-9].
If you want to match a line of characters that contains NOTHING BUT [a-z0-9] then you could use: ^[a-z0-9]+$ If you want to match a sequence of characters that must start with [a-z] and contain any number of [a-z0-9] thereafter, you could use the regex: [a-z][a-z0-9]* Is this what you were looking for? cheers David. Alex Cheung Tin Ka wrote: > Dear All, > Could anyone tell me how to make a regular expression for match a string only >[a-z0-9] ? > > Thanks > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]