Link to home
Start Free TrialLog in
Avatar of bounty457
bounty457

asked on

splitt string with regex with c#

Hello everybody,

i have the the following two strings:

D 1069 Dresden - Neustadt
01069 Dresden - Neustadt

I want to splitt the string with c# and the result should be in both cases:

1069
Dresden - Neustadt

How could i do this with regular expression?

thank you very much
Kind regards
bounty
ASKER CERTIFIED SOLUTION
Avatar of Terry Woods
Terry Woods
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bounty457
bounty457

ASKER

Great, it works Thank you very much.
Kind regards
bounty
I've requested that this question be closed as follows:

Accepted answer: 0 points for bounty457's comment #a40287489

for the following reason:

Thank you for the fast solution.
I'm thinking you mean to accept Terry's comment as the solution?
Hello eenookami,

yes i accept Terry's comment as solution, I have clicked on "accept as solution" but i can't select the points. There was no link or button available.

Thank you for accepting as solution with 500 points.
kind regards
bounty