regex string between two strings -
regex string between two strings -
how can text between 2 constant text?
example:
<rate curr="krw" unit="100">19,94</rate> 19,94
is between
"<rate curr="krw" unit="100">" and
"</rate>" other example:
abcdef getting substring between ab , ef= cd
try with:
/<rate[^>]*>(.*?)<\/rate>/ however improve not utilize regex html.
regex
Comments
Post a Comment