asked
[From Concept to Practice] Introduction to Recommendation Systems
[Supplementary Lecture] Handling Strings with Regular Expressions
Written on
·
270
2
소소하지만 편하게 한줄로 extract하는 방법 공유합니다.
extract() 안에 '\((\d{4})\)'로 넣으면 패턴을 찾을땐 소괄호 포함한 4자리를 찾지만 값을 돌려줄땐 4자리만 돌려줍니다
Answer 1
0
대현님, 팁 공유 감사합니다 :) !