extract word with regular expression
Posted
by farka
on Stack Overflow
See other posts from Stack Overflow
or by farka
Published on 2010-06-07T18:35:21Z
Indexed on
2010/06/08
15:42 UTC
Read the original article
Hit count: 179
I have a string 1/temperatoA,2/CelcieusB!23/33/44,55/66/77
and I would like to extract the words temperatoA
and CelcieusB
.
I have this regular expression (\d+/(\w+),?)*!
but I only get the match 1/temperatoA,2/CelcieusB!
Why?
© Stack Overflow or respective owner