TRUNCATE TABLE NIS_DWHv1.ACCESS_POINTS DROP STORAGE
TRUNCATE TABLE NIS_DWHv2.ADDRESSES DROP STORAGE
TRUNCATE TABLE NIS_DWHv3.ADDRESS_SERVICEABILITY DROP STORAGE
TRUNCATE TABLE NIS_DWHv4.AREAS DROP STORAGE
TRUNCATE TABLE NIS_DWHv5.CABLE_CORES DROP STORAGE
TRUNCATE TABLE NIS_DWHv6.CABLE_CORE_ENDS DROP STORAGE
TRUNCATE TABLE NIS_DWHv7.CABLE_DETAIL_INSTANCE DROP STORAGE
TRUNCATE TABLE NIS_DWHv8.CABLE_SHEATHS DROP STORAGE
So, I want TextPad to delete everything else, leaving only the NIS_DWHvn using REGULAR EXPRESSION.
Meaning, based on the above text, I want to use TextPad to make it like this:
In TextPad you can't delete all lines not matching an arbitrary regular expression.
Marking all lines containing NIS_DWHv, inverting all bookmarks, and deleting all bookmarked lines might be the easiest way to do it. In what sense will this not help?
ben_josephs wrote:Ah. Is that what aimy wants? The original message isn't very clear.
Nope! It's not that...
Maybe MudGuard thinks the other way around i.e. to transform NIS_DWHv into
NIS_DWHv1
NIS_DWHv2
NIS_DWHv3
NIS_DWHv4
NIS_DWHv5
NIS_DWHv6
NIS_DWHv7
NIS_DWHv8
ben_josephs wrote:In TextPad you can't delete all lines not matching an arbitrary regular expression.
Marking all lines containing NIS_DWHv, inverting all bookmarks, and deleting all bookmarked lines might be the easiest way to do it. In what sense will this not help?
If YOU think so, that MudGuard's analysis is correct, then why not implement that solution? Why the concern about WildEdit? He has provided a TextPad solution.
This is YOUR question. If YOU think it is correct, then that is the answer.
If YOU think so, that MudGuard's analysis is correct, then why not implement that solution? Why the concern about WildEdit? He has provided a TextPad solution.
This is YOUR question. If YOU think it is correct, then that is the answer.
Sorry Bob, I am confused either..
Coz I've been thinking that MudGuard has got me wrong.
Well anyway, I've tried it but this is the result...
TRUNCATE TABLE NIS_DWHv1.ACCESS_POINTS DROP STORAGE
TRUNCATE TABLE NIS_DWHv2.ADDRESSES DROP STORAGE
TRUNCATE TABLE NIS_DWHv3.ADDRESS_SERVICEABILITY DROP STORAGE
TRUNCATE TABLE NIS_DWHv4.AREAS DROP STORAGE
TRUNCATE TABLE NIS_DWHv5.CABLE_CORES DROP STORAGE
TRUNCATE TABLE NIS_DWHv6.CABLE_CORE_ENDS DROP STORAGE
TRUNCATE TABLE NIS_DWHv7.CABLE_DETAIL_INSTANCE DROP STORAGE
TRUNCATE TABLE NIS_DWHv8.CABLE_SHEATHS DROP STORAGE
Oh my God, yeah MudGuard, it works like a charm!!! 8)
Thank you so much!!!
And I am so sorry for misunderstood you earlier. Please accept my apologize OK.
By the way, may I know why do I have to use POSIX operator instead of using the default one? Is it because I cannot achieve the result if I use the default operator? As far as I know, the difference between the two is only about the syntax, and it seems that POSIX operator is in a less complex form, am I correct?
And also.. Would you mind to explain me a little bit about the coding so that I could understand it better and thus apply the same concept for the future. Let's say I only want to leave all those table names i.e. those text that comes after the dot '.'. How do I achieve that? Please explain that too..