View Single Post
Old 11-10-2011, 01:52 PM   #4
lathom
Kindle user
lathom began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Mar 2011
Location: Falls Church, VA
Device: Kindle
Quote:
Originally Posted by capnm View Post
You're only replacing what you grab, so you need to grab the whole string.

(\d+).*

or

(\d+)-.*
That did the trick - thanks very much!
lathom is offline   Reply With Quote