Is there any way to filter Variable to escape RegEx special characters?
Only I would like to pick Up the name in my document.
I tried to use Expressions.app, RegExRX and regex.app., yesterday in this master.tex using in parallel with simplest command as bellow :
\documentclass{jarticle}
\begin{document}
\include{content-1.tex}
\include{content-2.tex}
\include{content-3.tex}
\end{document}
Using [ \{.+?} ]
I found 5,
{jarticle} {document} {content-1.tex} {content-2.tex} {content-3.tex} .
{jarticle} {document} will be excluded from those choising.
Using {.+?}[^...]
same result:
{jarticle} {document} {content-1.tex} {content-2.tex} {content-3.tex} .
I do not want to get neither {jarticle} nor {document}.
I would like to pick up just the "content-3.tex".
At the front of [\include{content-3.tex}], there is a kind of 1 spacing.
This is a standard procedure for LaTeX writing.
But if neccesary, I will take it off.
Can you tell me what kind of Regular Expression I should use?
And should I take off this space?
You will appreciate that.
thx and regards, WAKAMATSU (boehmflute)