C
CBlair1986
I'm looking to take something like
/123/456/789
/0ab/cde/fgh
/ijk/lmn/opq
and turn it into an array like
[["123","456","789"][...][...]]
everything besides the /'s will be digits. I've been trying to solve it
using regular expressions, but I'm still very unfamiliar with them.
Also, there may be more or less '/###' sections than three, and they
might contain more than or less than three digits.
Any help is greatly appreciated!
/123/456/789
/0ab/cde/fgh
/ijk/lmn/opq
and turn it into an array like
[["123","456","789"][...][...]]
everything besides the /'s will be digits. I've been trying to solve it
using regular expressions, but I'm still very unfamiliar with them.
Also, there may be more or less '/###' sections than three, and they
might contain more than or less than three digits.
Any help is greatly appreciated!