Remove tags

how to remove the tags in teh data like this

-04 00BLCA-000 </
CompressedCircuitNumber> 01</
WorkOrderIssueNumber>071119
122729

thanks for help

On Nov 20, 10:59 am, Junkone [email protected] wrote:

how to remove the tags in teh data like this

-04 00BLCA-000 </
CompressedCircuitNumber> 01</
WorkOrderIssueNumber>071119
122729

irb(main):001:0> str = “-04
00BLCA-000
01071119</
DateCompleted> 122729”

irb(main):002:0> str.gsub %r{</?[^>]+>}, ‘’
=> “-04 00BLCA-000 01071119 122729”

On Nov 20, 1:16 pm, Phrogz [email protected] wrote:

00BLCA-000
01071119</
DateCompleted> 122729"

irb(main):002:0> str.gsub %r{</?[^>]+>}, ‘’
=> “-04 00BLCA-000 01071119 122729”

thanks a lot