Link to home
Start Free TrialLog in
Avatar of rgb192
rgb192Flag for United States of America

asked on

regex text to xml

Text: "Business & Industrial > Heavy Machinery > Chippers"
 
XML: Business & Industrial > Heavy Machinery > Chippers


given
"Business & Industrial > Heavy Machinery > Chippers"
 
want this as output
Business & Industrial > Heavy Machinery > Chippers
SOLUTION
Avatar of tdlewis
tdlewis
Flag of United States of America 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
SOLUTION
Avatar of ozo
ozo
Flag of United States of America 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
@ozo, you're right about the order.
ASKER CERTIFIED SOLUTION
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 rgb192

ASKER

I am using php
Avatar of rgb192

ASKER

thank you
I am using php and have an updated question of how to do this in php

https://www.experts-exchange.com/questions/27852846/regex-or-str-replace.html