Skip to content

Commit d7a41fa

Browse files
author
Rai
committed
requirement description added
1 parent 1ef7f20 commit d7a41fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/eprogrammerz/examples/java8/general/text_processing/TextProcessing.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public static void main(String[] args) {
3333

3434
System.out.println(brandAndProduct);
3535

36+
//need to find the texts with image urls ex. /path/to/image.jpg, /path/to/image1.jpg etc
3637
// Pattern pattern = Pattern.compile("(/.*\\.(?:png|jpg))", CASE_INSENSITIVE);
3738
Pattern pattern = Pattern.compile("(?:/[^/#?]+)+\\.(?:jpg|gif|png)", CASE_INSENSITIVE);
3839
Matcher matcher = pattern.matcher(brandAndProduct.toString());

0 commit comments

Comments
 (0)