먼가 영 안되네...

 

[링크 : https://www.regular-expressions.info/brackets.html]

[링크 : https://stackoverflow.com/questions/3926451/how-to-match-but-not-capture-part-of-a-regex]

 

[링크 : https://www.debuggex.com/]

 

+

2019.08.30

lookbehind?

[링크 : https://stackoverflow.com/questions/3926451/how-to-match-but-not-capture-part-of-a-regex?rq=1]

 

+

(?!\(PMID: )[0-9]*\)

 (PMID: 10373409)

끝에 )를 배제하고 하는 법은 없나? ㅠㅠ

 

+

머가 차이인지 좀 모르겠다...

(?=)

(?!)

 

[링크 : https://unlimitedpower.tistory.com/entry/정규표현식-이것이-고급이다-Positive-Negative-Lookahead-Lookbehind]

 

 

+

2019.11.20

positive lookbehind is (?<=text)

[링크 : https://www.regular-expressions.info/lookaround.html]

Posted by 구차니