"Smokey Grindel" <no****@nospam.comwrote in message
news:eo**************@TK2MSFTNGP06.phx.gbl...
>I basically need to remove any leading zeros and hyphens from a string...
regex seemed like the best rout and using a replace regex method... anyone
know of any good strings for this? The one I just made quick is ^0+|[-] but
not having much experience with regex, is this the correct one?
Your query is somewhat light on specifics, but if you have strictly leading
zeros and hyphens I think I would use String.TrimStart. That strikes me as
more straightforward than a regex replace. But if you want to play with
regex expressions get Expresso from UltraPico. It's free.
Bob