Say I have a string:
" This is a sting 123-456"
I want to pull out the item at the end of the string which will always contain the charcter "-" with characters before and after it.
I need some help with the regexp on this....Any suggestions on where to start?
" This is a sting 123-456"
I want to pull out the item at the end of the string which will always contain the charcter "-" with characters before and after it.
I need some help with the regexp on this....Any suggestions on where to start?