From 66bbd959a369ea4ecec207f246b6025681298364 Mon Sep 17 00:00:00 2001 From: Andreas Abraham Date: Fri, 18 Jun 2021 10:39:40 +0200 Subject: remove all white spaces --- .../src/main/java/at/asit/pdfover/gui/bku/mobile/MobileBKUHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pdf-over-gui/src') diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/MobileBKUHelper.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/MobileBKUHelper.java index 5f2287ea..c173337f 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/MobileBKUHelper.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/MobileBKUHelper.java @@ -209,7 +209,7 @@ public class MobileBKUHelper { throws InvalidNumberException { // Verify number and normalize - number = number.trim(); + number = number.replaceAll("\\s",""); // Compile and use regular expression Pattern pattern = Pattern.compile(NUMBER_REGEX); Matcher matcher = pattern.matcher(number); -- cgit v1.2.3