Help create a regular expression. All letters and numbers, punctuation marks, spaces (but not at the beginning of the line) should be allowed. Line break. A string can consist of several words.

Closed due to the fact that off-topic participants Qwertiy , Sergiks , user194374, cheops , Alexey Shimansky 2 Jul '16 at 9:03 .

  • Most likely, this question does not correspond to the subject of Stack Overflow in Russian, according to the rules described in the certificate .
If the question can be reformulated according to the rules set out in the certificate , edit it .

  • 2
    What is the actual problem? - Qwertiy
  • four
    I vote for the closure of this issue as not relevant to the topic, because 1. There are a lot of similar questions that need to be looked into. 2. The question does not show attempts to do it yourself. 3. The question does not affect anything other than the framework, even painted on Wikipedia. 4. The question is of no value to anyone except the author. - Qwertiy
  • But the minus is not mine. - Qwertiy
  • one
    @Qwertiy There are already two of them. My one ;-) - user194374

1 answer 1

I think this is a great answer to this question: https://habrahabr.ru/post/115825/ Python, but the basic principles are chewed at the very beginning.

  • Um .. The language is not the same ... - Qwertiy
  • Is there a difference in the principles of the construction of regulars? I also wrote to php, it works. - Ssssory
  • 1. Sometimes it happens. 2. The article mainly describes the work with regulars, methods and everything in this spirit. By syntax there is very little. It may be easier to look at Wikipedia and see the short label. - Qwertiy
  • @Qwerty 1- did not come across, I agree. 2 - Just a sign from Wikipedia did not help me. Understood only after reading this article, although, your truth, perhaps it was the examples that most helped. - Ssssory