Page 1 of 1

Solved :: Find First Alpha

Posted: Wed Jan 03, 2007 8:51 pm
by Zoram
I can't seem to figure out how to find the first :alpha: character in a string. I want to ignore all other characters and return the first one. I was trying to something like: /[:alpha:]/ but it doesn't want to work for me.

Thanks!

Posted: Wed Jan 03, 2007 9:01 pm
by feyd

Code: Select all

[[:alpha:]]
or

Code: Select all

[a-zA-Z]