April 24th, 2013, 08:04 PM
[[ since this has its own solution, split from http://forums.devshed.com/regex-programming-147/match-after-n-th-occurrence-of-something-601340.html --requinix ]]
These examples work but I am stuck on how they work.
In my case I am trying to return the second number from a string that looks like this...
<Vector (0.0568, 10.1234, -5.5432)>
and I am looking for 10.1234 (the second number) from this line.
can anyone offer me a bit of a hint as to how to do that?
Last edited by requinix; April 25th, 2013 at 05:12 PM.
April 25th, 2013, 04:48 PM
Perhaps something like this:
The match should be the second number.
/<Vector \([\d.]+, ([\d.]+),/