강의

멘토링

커뮤니티

Inflearn Community Q&A

tjsrldhdn3264's profile image
tjsrldhdn3264

asked

Become a 200% Productive, 2x Engineer with Regular Expressions

정규식 AND 조건 문의입니다.

Written on

·

421

0

여러 문장들중 한국이나 미국이란 단어가 있는 문장을 필터링 하기 위해서는 아래와 같이하는데요. OR 조건 사용법은 알겠습니다.

.+(한국| 미국).+$

한국이란 단어가 없는 문장을 필터링 하기 위해서는 어떻게 해야할까요?

AND 조건 사용법이 필요해보이는데

(.+)&[^(한국)] 이렇게 써봤는데 안되네요...

 

 

regex

Answer

This question is waiting for answers
Be the first to answer!
tjsrldhdn3264's profile image
tjsrldhdn3264

asked

Ask a question