Search found 6 matches
- Sat Jan 17, 2004 5:59 pm
- Forum: General
- Topic: Regular Expression for multiple lines
- Replies: 15
- Views: 1920
The trick to deleting to replacing a sequence of characters that extends over multiple lines was given by Bob Hansen. Namely, first you have to replace all new lines with a unique code. Then you can use a regular expression like START.*END to find and replace the sequence that starts with START and ...
- Wed Jan 14, 2004 5:23 pm
- Forum: General
- Topic: Regular Expression for multiple lines
- Replies: 15
- Views: 1920
- Wed Jan 14, 2004 3:22 pm
- Forum: General
- Topic: Regular Expression for multiple lines
- Replies: 15
- Views: 1920
- Fri Jan 09, 2004 6:09 pm
- Forum: General
- Topic: Regular Expression for multiple lines
- Replies: 15
- Views: 1920
- Wed Jan 07, 2004 3:02 pm
- Forum: General
- Topic: Regular Expression for multiple lines
- Replies: 15
- Views: 1920
- Tue Jan 06, 2004 4:28 pm
- Forum: General
- Topic: Regular Expression for multiple lines
- Replies: 15
- Views: 1920
Regular Expression for multiple lines
I am trying to write a regular expression that will replace or delete multiple lines that always start and end with a fixed sequence of characters. For example: START OF DATA . . . END OF DATA The problem I have is that . does not match line terminators. Also, I can't have a class [.\n]. Any suggest...