python
murata æ£è¦è¡¨ç¾ M30 (2003.11.01 - 2019.12.01)ã®æŠ½å‡º(æ¡æ•°ã¨æ”¹è‰¯ä½™åœ°ã‚ã‚Š)
text = "barabrara M30 (2003.11.01 - 2019.12.01) brarbrarbab"
re.findall(r'[A-Z][0-9]+ \([0-9]+\.[0-9]+\.[0-9]+ - [0-9]+\.[0-9]+\.[0-9]+\)',text)[0]
Output
'M30 (2003.11.01 - 2019.12.01)'
Was this helpful?
Similar Posts
- murata htmlã®æ–‡å—変æ›ï¼ˆK,M →数å—)
- murata フォルダ内ã®ãƒ•ã‚¡ã‚¤ãƒ«ã‚’csvã«ã¾ã¨ã‚ã‚‹
- murata ファイルを拡張åã”ã¨ã«ãƒ•ã‚©ãƒ«ãƒ€ã¸æŒ¯ã‚Šåˆ†ã‘
- murata é€”ä¸ è¦æ”¹å–„ pyautoguiを使ã£ãŸExcelã‹ã‚‰ãƒ†ã‚ストファイルã¸ã®è»¢è¨˜
- murata excel転記
- murata not public netkeiba scraping
- murata not public netkeiba data processing function