We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ef7f20 commit d7a41faCopy full SHA for d7a41fa
src/main/java/com/eprogrammerz/examples/java8/general/text_processing/TextProcessing.java
@@ -33,6 +33,7 @@ public static void main(String[] args) {
33
34
System.out.println(brandAndProduct);
35
36
+ //need to find the texts with image urls ex. /path/to/image.jpg, /path/to/image1.jpg etc
37
// Pattern pattern = Pattern.compile("(/.*\\.(?:png|jpg))", CASE_INSENSITIVE);
38
Pattern pattern = Pattern.compile("(?:/[^/#?]+)+\\.(?:jpg|gif|png)", CASE_INSENSITIVE);
39
Matcher matcher = pattern.matcher(brandAndProduct.toString());
0 commit comments