
KevinR
Veteran

Apr 3, 2009, 9:48 AM
Post #7 of 8
(1646 views)
|
|
Re: [Radtherapist] pattern matching only alphabetic characters
[In reply to]
|
Can't Post
|
|
Thanks Tumata, I can see this would work. Does this do the same sort of thing, but only looking for the alphabet characters only instead of numeric: ^[a-zA-Z]*$ Vince It does the same thing but Tumatas code would be more efficient. Keep in mind, as he said, yours, and his, can allow empty strings to match successfully. If you don't want that behavior change the * quantifier to + in your regexp. -------------------------------------------------
|