Link to home
Start Free TrialLog in
Avatar of josephm67
josephm67

asked on

c# regular expression help

Hi,

Please help me to write 2 regular expressions:

text= Z1cvgZ55Z1z89bavc

1) I want to extract all Z or z with numbers like output should be:
Z1
Z55
Z1
z89
Starting characters is z or Z.

2) extract all characters which do not contain Z or z with numbers too. The output should be like
cvgbavc

They are the remaining of above expression.

Please help me or guide me.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Dan Craciun
Dan Craciun
Flag of Romania 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 josephm67
josephm67

ASKER

thanks
Glad I could help!