I have texts similar to this:
<FILE_NAME>
���������������
</FILE_NAME>
<SHEET_NAMES>
['������']
</SHEET_NAMES>
<RAW_STRINGS>
[������������]
Where any length of the special character � serves as a placeholder. I’m trying to use regex to get a list of all the strings before/between/after the special characters. So in this example the output should be:
["<FILE_NAME>n", "n</FILE_NAME>nn<SHEET_NAMES>n['", "']n</SHEET_NAMES>nn<RAW_STRINGS>n[", "]"]
The best I got so far is this:
�+(.+(?!�))�+
I tried to match as many as possible of �, then capture everything except �, then again �. Doesn’t return any results.