Skip to content
Discussion options

You must be logged in to vote

Solution 1

Engine TXT will separate file by \r\n,so you need unfinish group to connect sentences into paragraph.

01_skip=^[;]
02_skip=^<(?!Name|Text)
03_skip=^<Name>
10_search=^<Name (?P<name>.+?)>
15_search=^<Text[\s\d]+(?P<unfinish>.+?)>*\s*$
16_search=^(?P<unfinish>.+?)[>\s]*$
struct=para

The match skip will end unfinish then form paragraph. (02_skip match <PW>)

Solution 2

Engine BIN can set separate to extract multi-lines. (Default sep is \r\n too)

10_search=^\s*(?P<name>[^>]+)?>\r\n<Text[\s\d]+([\S\s]+)>\r\n<PW>
separate=<Name
startline=1

Check BIN enable Pure Text mode and Encoding applies to BIN.
When import text, need to change setting Paragraph Separator to any string that will…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Linden10
Comment options

@Linden10
Comment options

@satan53x
Comment options

@Linden10
Comment options

Answer selected by Linden10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants