I'm trying to reformat some text by using the Advanced Search and Replace plugin with a Regular Expression.
Basically I'm trying to remove the line breaks from the data where the pattern matches.
Data:Address:
1234 Main Street
Somewhere CA 99999
MRN: 0000009999
Search String:(Address:)\n([A-Za-z 0-9#,.-]{1,})\n([A-Za-z 0-9#,.-]{1,})\n(MRN:)
Replace With:
Desired Results:Address:1234 Main Street Somewhere CA 99999
MRN: 0000009999
Settings: - Search whole file
- Treat as regular expression
- Match case
Unfortunately, it does not work even though the pattern shows a match on a online regular expression validator.
https://regex101.com/Any assistance will be appreciated.