Yeah, my input string was "Time IRIGB (s) Lat Ltn (deg) Lon Ltn (deg) Tas stbd (m/s) wind speed Hg (m/s) wind direction Hg (deg t)"
and my program output was:
Time IRIGB (s)
Lat Ltn (deg)
Lon...
Type: Posts; User: username9000
Yeah, my input string was "Time IRIGB (s) Lat Ltn (deg) Lon Ltn (deg) Tas stbd (m/s) wind speed Hg (m/s) wind direction Hg (deg t)"
and my program output was:
Time IRIGB (s)
Lat Ltn (deg)
Lon...
I found the answer, this works:
if(matcher.find()){
System.out.println("found:");
System.out.println(matcher.group());
while(matcher.find()){...
Hi, I'm trying to parse some text with java's regex and nothing seems to be working -_-;;;
In this code all I am trying to do is parse a string for words and it doesn't work:
Code:
Pattern...