Â
Â
I have a column in a text file containing something like this:Â
Â
SRID=3005;POINT(1053949.68 557173.501)  I would like to obtain values like these, within _matched_parts, like this:Â
Â
_matched_parts{0} =Â 1053949.68Â
_matched_parts{1} = 557173.501Â
Â
I WANT TO EXTRACT ONLY THE COORDINATES BETWEEN THE PARENTHESIS.Â
 I have tried regular expressions such like this:Â
Â
^( 0-9]*p.] 0-9]*) (-0-9]*].]-0-9]*)$Â
Â
and also this one:Â
Â
(:0-9]{1,2}<\\. 0-9]*]) (]0-9]{1,3}[\\.]0-9]*])Â
Â
They both failed and no results are obtained:Â
Â
"Coordinates(TestFactory): Tested 87 input feature(s) -- 0 feature(s) passed and 87 feature(s) failed"Â
Â
So I know the syntax is somehow correct, but I can't really make it work.Â
Â
I am using the StringSearcher and planning to use the 2DPointReplacer with the following input (output from the StringSearcher), to create the geometryÂ
Â
_matched_parts{0}Â
_matched_parts{1}Â
Â
So far, the transformer does not make it to this point, as the String Searcher is not quite outputting the two right numbers to be used in the 2DPointReplacerÂ
Â
Could any of you please tell me how should the regular expression be built, so it returns those numbers?Â
Â
Thank you very much,Â
Â
Richard