- Регистрация
- 28.02.2012
- Сообщения
- 70
- Благодарностей
- 6
- Баллы
- 0
In file I have
I would like to extract the texte in [Titre] section.
To do this, I make this Regex:
But in result I got: \r\n{Essai MasterSpin1|Essai MasterSpin2|Essai MasterSpin3|Essai MasterSpin4|Essai MasterSpin5}\r\n
How does it do to have {Essai MasterSpin1|Essai MasterSpin2|Essai MasterSpin3|Essai MasterSpin4|Essai MasterSpin5} without \r\n
Thx for help
Код:
[Titre]
{Essai MasterSpin1|Essai MasterSpin2|Essai MasterSpin3|Essai MasterSpin4|Essai MasterSpin5}
[Tags]
Tags1,Tags2,Tags3
To do this, I make this Regex:
Код:
(?i:?<=\[Titre\])[\w\W]*?(?=\[))
How does it do to have {Essai MasterSpin1|Essai MasterSpin2|Essai MasterSpin3|Essai MasterSpin4|Essai MasterSpin5} without \r\n
Thx for help