Untitled
public text v1 · immutable$str="<a>one</a><a>two</a>";
And my match is:
m/<a>(.*)<\/a>/s
My result for $1 is:
one</a><a>two
How would I get it so it returns just "one"$str="<a>one</a><a>two</a>";
And my match is:
m/<a>(.*)<\/a>/s
My result for $1 is:
one</a><a>two
How would I get it so it returns just "one"