PSPad 4.5.9 (2600) If I have input like this, where <CR> is a carriage return:
This is a test.^1<CR> <#fn1> And I use this search and replace: Search: \^(\d+)\s+<#fn\d+> Replace: \[\^$1\] Basically, I want to replace '^1 <#fn1>' with '[^1]'. PSPad will not find the string because of the embedded CR, even though \s includes tab, space, and carriage returns \l and \n. Am I not understanding something? Because this works fine in the online regex tester https://regex101.com/. However the Regex tester allows the 'g' switch, while PSPad does not. Perhaps that makes a difference. Thank you for clearing this up for me. This is actually a common occurance in the files I'm dealing with. -- Computer 1: Win 7 64-bit, PSPad 4.5.8.2482 Computer 2: Win 8 64-bit, PSPad 4.5.9. <http://forum.pspad.com/read.php?2,66368,66368> PSPad freeware editor http://www.pspad.com
