dimanche 12 février 2017

Python regular expression find words with part of text

Vote count: 0

I want to find in text such phrases.

  1. -is- and -to- in phrase which in big text, or IS and TO

love-is-beatiful-to-you

love-IS-beatiful-TO-you

loveISbeatifulTOyou

  1. if FORyou text in sentence and I want to get whole sentence

example

Open your eyes and love. come.fastFORyou immediately

I would like to get(as you can see it can be dots, and spaces)

love. come.fastFORyou

asked 34 secs ago

Let's block ads! (Why?)



Python regular expression find words with part of text

Aucun commentaire:

Enregistrer un commentaire