티스토리 뷰

공부

[Regexp] ignore case sensitivity

seunggabi 승가비 2021. 1. 8. 23:35
728x90
# include ... log, Log, LOg, LOG, loG, lOG, ...

(?i).*log.*

https://stackoverflow.com/questions/9655164/regex-ignore-case-sensitivity

 

Regex: ignore case sensitivity

How can I make the following regex ignore case sensitivity? It should match all the correct characters but ignore whether they are lower or uppercase. G[a-b].*

stackoverflow.com

 

728x90
댓글
댓글쓰기 폼