Hanya untuk memastikan semuanya jelas, di RegEx Pal (tersedia di menu utama Paratext, di bawah Advanced), Anda bisa mencari: \\s\d? [^\r]+\r\n dan menggantinya dengan kosong untuk menghapus judul bagian. Itu termasuk backslash tambahan yang dibahas oleh LivingField. (Kemungkinan besar para penerbit sebelumnya tidak menandai ekspresi reguler mereka sebagai “Preformatted text” saat menulis postingan mereka, sehingga salah satu backslash “dimakan” dalam output.)
Menjawab @mnjames, ekspresi reguler ini secara otomatis menangani semua bentuk judul bagian, \s, \s1, s2, dll. Regex tersebut mengandung \d?, yang memerintahkan untuk mencocokkan angka opsional, sehingga cocok dengan semua bentuk judul bagian tersebut. Anda tidak perlu mencari penanda \s secara terpisah.
Just to make sure it is clear, in RegEx Pal (available on the main Paratext menu, under Advanced), you can search for: \\s\d? [^\r]+\r\n and replace it with nothing to remove section headings. That includes the extra backslash that LivingField was talking about. (It’s possible that the previous posters didn’t mark their regular expression as “Preformatted text” when they were writing their post, so one of the backslashes was “eaten” in the output.)
Replying to @mnjames, this regular expression automatically takes care of all forms of section headings, \s, \s1, s2, etc. The regex contains \d?, which tells it to match an optional digit, so that matches all of those section heading forms. You don’t need to search for the \s markers separately.
Diterjemahkan secara otomatis dari English