Repalce string
Posted: Fri Aug 06, 2010 4:43 pm
Hi All,
I have a string as follows..
something-somenubmer-somethingelse_some
I wanted to use "replaceall" to remove untill second hyphen (including hyphen). Out put should be as below...
"somethingelse_some"
since I have bunch of strings, I'm not getting, how I can do with regular expression.
I have a string as follows..
something-somenubmer-somethingelse_some
I wanted to use "replaceall" to remove untill second hyphen (including hyphen). Out put should be as below...
"somethingelse_some"
since I have bunch of strings, I'm not getting, how I can do with regular expression.