Is it possible to use wildcard characters in TeXworks
when you search for something? I can see that there is a "Regular expression" option, but I was thinking along the lines of something more user friendly.
My Example where for instance *
would be the wildcard character: Searching for something like \setcounter{subsection}{*L1}
would ideally return all of the following from my code using such functions.
\setcounter{subsection}{3}\subsection{}\writeVerseParams{40001004}{ypos}{F}{L1}
\setcounter{subsection}{4}\subsection{}\writeVerseParams{40001005}{ypos}{F}{L1}
\setcounter{subsection}{5}\subsection{}\writeVerseParams{40001006}{ypos}{F}{L1}
- etc…
Best Answer
Quoting from the TeXworks manual
But probably you want to match anything except a newline, so
[^\n]
is what you're looking for: