본문 바로가기

YUYANE

검색하기
YUYANE
프로필사진 YUYA

  • 분류 전체보기 (108)
    • Programming Languages (65)
      • C (10)
      • DART (0)
      • HTML, CSS (7)
      • JAVA (20)
      • JS (8)
      • PYTHON (20)
    • Framework (29)
      • DJANGO (26)
      • FLUTTER (3)
    • Programming Theory (14)
      • Computer Science (6)
      • Algorithm (8)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Tags
  • c언어문자열
  • 속초여행
  • 강원도속초맛집
  • FLUTTER
  • 추상클래스
  • python3
  • JavaScript
  • 자바
  • 부스트코스
  • popupmenubutton
  • pipenv
  • removetooltip
  • DOM
  • 정렬알고리즘
  • 성수동카페
  • 가상환경
  • 컴퓨터과학
  • Django
  • 장고
  • richtext
  • 남양주맛집
  • 알고리즘
  • 코딩독학
  • 건대입구맛집
  • 포인터
  • 상속
  • 아스키코드
  • BeautifulSoup
  • Python
  • 노마드코더
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Regularexpression (1)

YUYANE

Python / Regular Expression(Regex)

Regular Expression 검색 패턴을 정의하는 일련의 문자열 1. re.search() 원하는 정보를 찾을 때 사용 import re patterns = ['term1','term2'] text = 'This is a string with term1, but not the other!' for pattern in patterns: print("I'm searching for: "+pattern) if re.search(pattern, text): print("Match!") else: print("No match!") 결과: I'm Searching for: term1 Match! I'm searching for: term2 No match! re.search. 메서드의 결과 값은 어떤 유형일까..

Programming Languages/PYTHON 2021. 1. 13. 13:13
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바