Hi,
please excuse me for sending too many messages.
I still have the problem:
how to match any character?
something like (.|\n)*
I need to match the following,
<!ENTITY % langSpaceAttrs
"xml:lang %LanguageCode; #IMPLIED
xml:space (default|preserve) #IMPLIED" >
and
/<!ENTITY\s+%\s+[a-zA-Z]+\s+\".*|\n*\"\s*>/
^^^^^^
just matches two of the three lines.
Any help appreciated,
Tobi