Hi, I'm not able to bring a block by regex, where I'm failing?
my block in word:
"V – COMPOSIÇÃO DA RENDA DO(S) COMPRADOR(ES):
[#loopParticipantes#][#nome_do_comprador#] [#percentual_participacao_proponente#]
[#casado#]- [#nome_do_conjuge#] [#percentual_participacao_proponente#] [#/loopParticipantes#]"
My code C#:
Regex regex = new Regex(@"\[#loopParticipantes\b[^#\]]*#\](.*?)(.|\s)*\[#/loopParticipantes#\]");
doc.FindPattern(regex) is null
I tested this condition in site regexstorm.net and work fine.
My version Spire.doc: 4.4.6.3040