Perhaps someone can help.
In a group of 15,000 html files, a few contain a certain error I need to fix.
Every file contains string A and string B.
String B should appear only after string A, never before it.
What I want to do is this:
Find in Files, all instances where string B appears before string A. (That means anywhere before... it could be immediately before, or several lines before).
UltraEdit will then generate a list of instances. (I can fix them manually since there won't be many.)
I can't seem to figure out what expression will find this. Do concepts like "somewhere before" and "somewhere after" (maybe spanning multiple lines) translate into any regexp syntax?
Any insight is appreciated.
In a group of 15,000 html files, a few contain a certain error I need to fix.
Every file contains string A and string B.
String B should appear only after string A, never before it.
What I want to do is this:
Find in Files, all instances where string B appears before string A. (That means anywhere before... it could be immediately before, or several lines before).
UltraEdit will then generate a list of instances. (I can fix them manually since there won't be many.)
I can't seem to figure out what expression will find this. Do concepts like "somewhere before" and "somewhere after" (maybe spanning multiple lines) translate into any regexp syntax?
Any insight is appreciated.