Ad Widget

Collapse

trigger expresion for iregexp: Not containing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • trikke
    Senior Member
    • Aug 2007
    • 140

    #1

    trigger expresion for iregexp: Not containing

    Hi,

    I've got a question four the regexp guru's around.

    I have a text field containing:
    "capacity:Mounted 95%:/db2/E04/sapindex/NODE0000 93%:/db2/E04/sapdata/NODE0000 93%:/root/tempinst 78%:/db2/E03/sapdata 76%:/opt/IBM 73%:/db2/E03/sapindex 71%:/sapmnt/E03 65%:/sapmnt/E04 61%:/db2/db2e04 61%:/db2/EJ4 60%:/db2/E04/db2dump"

    I want to check, if this text contains a string: "93%:<text but NOT /db2/E04>"
    Meaning: My search must ignore all /db2/E04 strings!

    I tried :
    iregexp(93%:/[^db2]/[^E04]) but this would already match all strings beginning with db2 ( /db2/E03, /db2/db2e04 ...)

    iregexp(93%:/[^db2/E04]) does not work at all!

    any ideas?
    Tahnx
    Patrick
Working...