私はこれらのテキストから生年月日を抽出したいと思います。特定の単語の後に日付を抽出する正規表現
keywords to match
Date of Birth
date of birth:
D.O.B:
DOB:
そのような文字列:4つの条件があります
text = "my name is adam my DOB: 30-11-1988 and i play football since 20-2011"
text = "my name is D.O.B: 20/MAY/1987 and i play football since 20-2011"
text = "my Date of Birth 12-7-1970 and i start study since 20-2011"
text = "my date of birth: 20/9/1970 "
の作品を願っては、あなたは必ず目を作るあなたが試した任意のコードを示すことになっていますあなたは何かを試してみたところです。 –