아래 예제는 정규 표현식(Regular Expression)을 이용해 전화번호 패턴을 찾아내는 프로그램이다. >>> import re>>> phoneNumRegex = re.compile(r'\d\d\d-\d\d\d-\d\d\d\d')>>> mo = phoneNumRegex.search('My number is 415-555-4242.')>>> print('Phone number found: ' + mo.group())Phone number found: 415-555-4242예제 출처: Automate the Boring Stuff with Python (https://automatetheboringstuff.com/2e/chapter7/) 위 코드를 한 줄씩 살펴보자. import re파이썬 내장 모..