Extracting phone numbers from a free form text in python by using regex

前端 未结 4 590
遇见更好的自我
遇见更好的自我 2020-12-22 11:49

I have to extract phone numbers from free form of texts.

How can I manage it by using reg-ex in python?

I have found for one in order to extract e-mail addre

4条回答
  •  既然无缘
    2020-12-22 12:35

    So I think I got a hang of your problem.

    This is what I would do in order:

    • Learn what reg-ex is, without the foundational knowledge you are just wasting our and your own time.
    • Watch this: https://www.youtube.com/watch?v=ZdDOauFIDkw
    • Write down what you don't know
    • Research
    • Write code, provide sample input for your code, copy it to http://pastebin.com, and show it to us, if it's still not working.
    • repeat.

提交回复
热议问题