패턴 20 - \s (역슬래시 소문자s) : 모든 공백 \S (역슬래시 대문자S) : 모든 공백을 제외한 문자 모든 공백엔 space, new line, tab 모두 포함. Source Ere iron was found or tree was hewn Case 1 - 모든 흰색 공백 Regular Expression: \s First match: Ere iron was found or tree was hewn All matches: Ere iron was found or tree was hewn Case 2 - 흰색 공백을 제외한 모든 문자 Regular Expression: \S First match: Ere iron was found or tree was hewn All matches: Ere iron was found or tree was hewn
최신댓글