Hello,
I am not familiar with regex but did a quick exploration of this.
Example:
void setup()
{
String s = "192.168.001.001";
//String[] m = match(s, "\\.");
String[] m = match(s, "\\.(.*?)\\.");
println("Found '" + m[1] + "' inside the tag.");
printArray(m);
}
References:
https://processing.org/reference/match_.html
https://py.processing.org/reference/string.html
Update (I had the py version above):
https://processing.org/reference/String.html
:)