Thread: need regex help
View Single Post
Old 11-22-2006, 09:45 AM  
xuron
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Posts: 346
need regex help

I have lines that look like this

12345678:firstname

ID:Name

What is the regex code for deleting everything after the ":"

This is what I have so far, but its not getting all the characters

Code:
:[a-z\s]*$
xuron is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote