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!
Solved :: Find First Alpha
Moderator: General Moderators
Solved :: Find First Alpha
Last edited by Zoram on Wed Jan 03, 2007 10:50 pm, edited 1 time in total.
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Code: Select all
[[:alpha:]]Code: Select all
[a-zA-Z]