Search found 2 matches
- 11 Dec 2023, 20:01
- Forum: Ask for Help (v1)
- Topic: Regular Expression Problem Topic is solved
- Replies: 6
- Views: 560
Re: Regular Expression Problem Topic is solved
Oh boy... I made (kind of) a fool of myself: Yes "StrReplace()" is for plain text string replacement :crazy:. What I needed, as Datapoint succinctly shows, was RegExReplace(Text, "(`n)+", " ") As Xtra also said "Keep it simple.": So Initially the function used was StrReplace(Text, "`n", " ") but thi...
- 11 Dec 2023, 03:18
- Forum: Ask for Help (v1)
- Topic: Regular Expression Problem Topic is solved
- Replies: 6
- Views: 560
Regular Expression Problem Topic is solved
Hello, I am about to give up on this simple regular expression substitution that work fine anywhere else but not with AutoHotkey: Text := "This is a test to see`nhow removing splitted lines using`nregular expression looks like when written to a log:`n`nExample 1`n`n`nExample 2`n`nEnd" Log_Text := St...