Skip to content

Commit

Permalink
#63 Fix: regex 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jhy0285 committed Oct 7, 2023
1 parent 762f517 commit ea10c79
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public List<KakaoSendMeResponseDto> extractLink(MultipartFile multipartFile) {

// https 링크를 추출하기 위한 정규 표현식
String regex = "https?://[a-zA-Z0-9\\-\\.]+(\\:[0-9]+)?\\.[a-zA-Z]{2,3}(\\S*)?";


// \bhttps?://\S+ => 모든 http, https 도메인 검출
Pattern pattern = Pattern.compile(regex);
Expand Down

0 comments on commit ea10c79

Please sign in to comment.