c# - How to get values inbetween specific character -


i need values inbetween <> , in between > , next < here string

<mes>mid=13/08/15§13:22:17+08<rb01>i=180.8u=3.87<set01>alvu=20.00 

what want output is:

mid=13/08/15§13:22:17+08 rb01 i=180.8u=3.87 set01 alvu=20.00 

is possible using regex?

i've been trying hours, mind regular expression knowledge isn't i'd :-) gratefully received.

this expression match groups:

([^<>]+) 

you can try out in:

http://rubular.com/r/zq64z1hei1

you can recover "value" between brackets "(" , ")" groups matchers (in java or ruby). other languages have different syntax doing same.


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -