I need to parse this string and extract bold number out od it .
I dont have a suitable regex for
1. useInput can be
=”0067711990999999*1955*0515070999999999999N9+01*23*1+99999999..”;
Pattern pattern;
String regex="\\s*-?\\d+(?:\\s*[-+/*]\\s*-?\\d+)+\\s*";
pattern=Pattern.compile(regex);
Matcher match = pattern.matcher(userInput);
The problem is i dont find any regex to match the bold String.
i need this in a Map-Reduce program.
Thanks
If you’re reading .odt files, perhaps http://www.jopendocument.org/ is the way to go?