- Replies
- Views
- Last post
- 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?Replies: 2 Views: 3.9K
- 2 Replies
- 3.9K Views
- Last post by Mofi
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...Replies: 2 Views: 3.1K
- 2 Replies
- 3.1K Views
- Last post by fleggy
Mar 11, 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?Replies: 2 Views: 12.6K
- 2 Replies
- 12.6K Views
- Last post by wjswanepoel
Jan 31, 2023
- 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 <...Replies: 2 Views: 8.1K
- 2 Replies
- 8.1K Views
- Last post by wjswanepoel
Dec 13, 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....Replies: 2 Views: 6.6K
- 2 Replies
- 6.6K Views
- Last post by wjswanepoel
Dec 12, 2022