파이썬 정규식 함수
정규식 함수
이 re
모듈은 일치하는 문자열을 검색할 수 있는 함수 세트를 제공합니다.
Function | Description |
---|---|
findall | Returns a list containing all matches |
search | Returns a Match object if there is a match anywhere in the string |
split | Returns a list where the string has been split at each match |
sub | Replaces one or many matches with a string |