- Posted by
- I have a file where there are sometimes a <b> tag (bold) and before it is closed with a </b> there is another <b>, e.g.: <RF> <b> 1:4 <b> Hom wat is ... kom: </b> The second <b> should not be there. Is it possible to write a regex pattern to find such occurrences?Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- wjswanepoel
Mar 20, 2023
- How do I make the search pattern <SP ( .+ : ) > non-greedy so that it picks up in <SP Hy:> Ek kom na my tuin,<CI><PI2> my suster, my bruid.<CI><PI> Ek pluk my mirre met my speserye,<CI><PI> ek eet my heuningkoek<CI><PI2> met my heuning,<CI><PI> ek drink my wyn met my melk.<SP Koor:><CI><PI> Eet, vri...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- wjswanepoel
Mar 10, 2023
- Works like a charm! Thank you.Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- wjswanepoel
Jan 31, 2023
- I need to edit a file and for every line that does not start with <RX I need to replace the line with a ^p. Is that possible?Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- wjswanepoel
Jan 31, 2023
- Thank you very much! It does exactly what I wanted.Posted in Scripts
-   Topics
-   Views
- wjswanepoel
Dec 13, 2022
- I need a script which will search for <CM> and if found on a line in the file it must append <CM> to the end of that line. Example: The line contains: die vyfde met <W •sardoniks><CM>die sesde met <W •karneool><CM>die sewende met <W •chrisoliet><CM>die agtste met <W •berilsteen><CM>die negende met <...Posted in Scripts
-   Topics
-   Views
- wjswanepoel
Dec 13, 2022
- Thank you very much!Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- wjswanepoel
Dec 12, 2022
- I wish to search, using regular expressions, for a string (say •water) where this is not preceded by "<W ", that is "<W" followed by a space. E.g. "<W •water" or "<W •Content" must not match. I only need the occurrences where the "<W " does not precede the string. The • will always precede the word....Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- wjswanepoel
Dec 12, 2022