REGEX Decipher

I have been giving this regex code but for cannot decipher what it means
"(?¡)\\[Abcde\\].*"
Has been applied to outgoing mail policy - conditions as a subject header - contains. Any ideas.

I understand you need information on what this RegEx string will match against.  Here is a breakdown:
- The (?i) means 'case insensitive'.
- The \\ characters make the [ and ] characters literal.
- Abcde has no special meaning - it is treated literally be default.
So this string is looking for Subjects that contain strings similar to these:
[abcde]
[ABCDE]
[aBcDe]
I do not know if any use case where one would search for that particular phrasing.  However, this style of filter is very common for CRES Encryption setups.  If that is the use case here, you will want to make sure that the text matches what your users are told to add to their Subjects when they desire Encryption.
BTW, here is a great RegEx reference:
http://www.regxlib.com/CheatSheet.aspx
I hope this helps!  :)
- Jackie

Similar Messages

  • Regex is matching more than what I want

    Hi!
    I'm trying to make my application scan webpages for .zip file links using Regex.
    But instead of just matching the link, it also matches some HTML tags before that.
    This is my code:
    'This is the pattern I use: (https?:\/\/)?([A-Z]+)?\.?([A-Z]+)?\.?([A-Z]+)?\/?(.+)?(\.zip)
    'Adding ^ and $ around it makes it match nothing.
    Public Class Form1
    Dim WithEvents client As New WebClient
    Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
    client.DownloadStringAsync(New Uri(TextBox1.Text))
    End Sub
    Private Sub client_DownloadStringCompleted(sender As Object, e As System.Net.DownloadStringCompletedEventArgs) Handles client.DownloadStringCompleted
    RichTextBox1.Text = e.Result.ToString
    Dim Pattern As String = "(https?:\/\/)?([A-Z]+)?\.?([A-Z]+)?\.?([A-Z]+)?\/?(.+)?(\.zip)"
    Dim RgEx As New Regex(Pattern, RegexOptions.IgnoreCase)
    Dim mc As MatchCollection = RgEx.Matches(RichTextBox1.Text)
    For Each m As Match In mc
    RichTextBox1.Select(m.Index, m.Length)
    RichTextBox1.SelectionBackColor = Color.Yellow
    Next
    RichTextBox1.SelectionStart = 0
    RichTextBox1.SelectionLength = 0
    RichTextBox1.SelectionBackColor = Color.White
    MessageBox.Show(mc.Count & " matches found", "", MessageBoxButtons.OK, MessageBoxIcon.Information)
    End Sub
    End Class
    This pattern:
    "(https?:\/\/)?([A-Z]+)?\.?([A-Z]+)?\.?([A-Z]+)?\/?(.+)?(\.zip)"
    Matches this in a webpage:
    <P align=center><SPAN style="FONT-SIZE: 16pt"><FONT color=#ffffff><A href="http://www.mydoomsite.com/programs/programs/Doom%20Writer%20Setup%20v2.0.0.zip
    But I only want it to match the link itself:
    http://www.mydoomsite.com/programs/programs/Doom%20Writer%20Setup%20v2.0.0.zip
    Any suggestions?
    //Visual Vincent
    EDIT:
    I want it to be able to match the most kinds of links. Such as if the link only were "/programs/Doom%20Writer%20Setup%20v2.0.0.zip" or "/Doom%20Writer%20Setup%20v2.0.0.zip".
    I hope your day has been better than yesterday, but that it's worse than tomorrow...
    Please mark as answer if I solved your problem. :)

    Thanks, this worked better than mine.
    BUT it won't match links that are written like this: "/directory/file.zip"
    Keep in mind that this is supposed to work for all sites, and some only have links like the one above, or just "/file.zip".
    I hope your day has been better than yesterday, but that it's worse than tomorrow...
    Please mark as answer if I solved your problem. :)
    After seeing numerous webpage code over time I would guess /directory/file.zip or /file.zip are preceded in some fashion by other code that contains the rest of the link for those two locations.
    Perhaps those two locations are preceded by some type of statement that means include this part of the main link when somebody clicks on one of those two files to download or something. Of course that would have nothing to do with regex as it would
    being able to decipher how the HTML code for a specific site works when selecting a file to download. Then perhaps being able to get the entire link for either of those two downloads.
    Which links does the regex work for and which does it not work for with regard to the main link you are interrogating HTML content from? 
    La vida loca
    Some of the things I know about HTML is that if you just type /file.zip the webbrowser will try to download it from the same location as it's currently in. So if you are on the page http://www.example.com/files/index.html it will try to Download /file.zip from
    http://www.example.com/files/file.zip.
    The link I am scanning is just a page from my own website, where I've uploaded some of my applocations in .zip files. :)
    Though the regex is supposed to find links on any website. It's the user's choice.
    I hope your day has been better than yesterday, but that it's worse than tomorrow...
    Please mark as answer if I solved your problem. :)

  • Problems with String.split(regex)

    Hi! I'm reading from a text file. I do it like this: i read lines in a loop, then I split each line into words, and in a for loop I process ale words. Heres the code:
    BufferedReader reader = new BufferedReader(new FileReader(file));
    String line;
    while ((line = reader.readLine()) != null) {
        String[] tokens = line.split(delimiters);
        for (String key : tokens) {
    doSthToToken();
    reader.close();The problem is that if it reads an empty line, such as where is only an "\n", the tokens table has the length == 1, and it processes a string == "". I think the problem is that my regex delimiters is wrong:
    String delimiters = "\\p{Space}|\\p{Punct}";
    Could anybody tell me what to do?

    Ok, so what do you suggest?I suggest you don't worry about it.
    Or if you are worried then you need to test the two different solutions and do some timings yourself.
    And how do you know the regex lib is so slow and badly written?First of all slowness is all relative. If something takes 1 millisecond vs 4 milliseconds is the user going to notice? Of course not which is why you are wasting your time trying to optimize an equals() method.
    A general rule is that any code that is written to be extremely flexible will also be slower than any code that is written for a specific function. Regex are used for complex pattern matching. StringTokenizer was written specifically to split a string based on given delimiters. I must admit I haven't tested both in your exact scenario, but I have tested it in other simple scenarios which is where I got my number.
    By the way I was able to write my own "SimpleTokenizer" which was about 30% faster than the StringTokenizer because I was able to make some assumptions. For example I only allowed a single delimiter to be specified vs multiple delimiter handled by the StringTokenizer. Therefore my code could be very specific and efficient. Now think about the code for a complex Regex and how general it must be.

  • Can we eliminate " from a String using regEx?

    Hi,
    I have a process and we are calling an external web service.
    Within code, I am setting the response from web service(string) to bpm object and using the same object in jsp for presentation.
    For Ex.
    bpmObject.empName = response from web service.
    within the jsp, have a java script where in I am validating the value.
    var empNm= "<f:fieldValue att="bpmObject.empName" onlyValue="true"/>";
    It works fine but some times when response from web service is having '"' - double quote, it is giving error.
    For Ex. bpmObject.empName = FirstName "SecondName" then the javascript error occurs. how can we remove the double quote from this?
    Tried bpmObject.empName.replace(from : "\"", @to : " ") but it is still giving the same output FirstName "SecondName"
    It works fine when I test by using a String str = "FirstName\"SecondName\"".replace(from : "\"", @to : " ") is giving correct result i.e. FirstName SecondName
    Can RegEx help in this?
    Thanks

    I know its better to handle in jsp/javascript
    var empNm= "<f:fieldValue att="bpmObject.empName" onlyValue="true"/>";
    but the above line is giving javascript error always.
    how to handle the same in bpm fpr code?
    Edited by: Sreekant on Mar 3, 2011 1:44 AM

  • Can anyone help decipher my etresoft report...please! mac slow as heck with yosemite!

    Macbook pro is so slow with yosemite (startup take 50 secs and programs lag/ spinning wheels, it's endless),
    Can anyone help with me decipher my etresoft report...please!
    I've tried all the resets and re-installs, nothing worked a bit!
    Much appreciated!
    C
    EtreCheck version: 2.1.8 (121)
    Report generated 7 March 2015 22:45:55 GMT
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        MacBook Pro (15-inch, Mid 2012) (Technical Specifications)
        MacBook Pro - model: MacBookPro9,1
        1 2.6 GHz Intel Core i7 CPU: 4-core
        8 GB RAM Upgradeable
            BANK 0/DIMM0
                4 GB DDR3 1600 MHz ok
            BANK 1/DIMM0
                4 GB DDR3 1600 MHz ok
        Bluetooth: Good - Handoff/Airdrop2 supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery Health: Normal - Cycle count 523
    Video Information: ℹ️
        Intel HD Graphics 4000
            Color LCD 1440 x 900
        NVIDIA GeForce GT 650M - VRAM: 1024 MB
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 0:3:26
    Disk Information: ℹ️
        APPLE HDD TOSHIBA MK7559GSXF disk0 : (750.16 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            Macintosh HD (disk1) / : 748.93 GB (496.61 GB free)
                Encrypted AES-XTS Unlocked
                Core Storage: disk0s2 749.30 GB Online
        MATSHITADVD-R   UJ-8A8 
    USB Information: ℹ️
        Apple Inc. FaceTime HD Camera (Built-in)
        Apple Computer, Inc. IR Receiver
        Apple Inc. BRCM20702 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Inc. Apple Internal Keyboard / Trackpad
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /Applications/Toast 11 Titanium/Spin Doctor.app
        [not loaded]    com.hzsystems.terminus.driver (4) [Click for support]
            /Library/Application Support/HASP/kexts
        [not loaded]    com.aladdin.kext.aksfridge (1.0.2) [Click for support]
            /Library/Extensions
        [not loaded]    com.wacom.kext.ftdi (1 - SDK 10.10) [Click for support]
            /System/Library/Extensions
        [not loaded]    com.roxio.BluRaySupport (1.1.6) [Click for support]
        [not loaded]    com.wacom.kext.wacomtablet (6.3.11 - SDK 10.10) [Click for support]
            /Users/[redacted]/Library/Services/ToastIt.service/Contents/MacOS
        [not loaded]    com.roxio.TDIXController (2.0) [Click for support]
    Launch Agents: ℹ️
        [not loaded]    com.adobe.AAM.Updater-1.0.plist [Click for support]
        [loaded]    com.divx.dms.agent.plist [Click for support]
        [loaded]    com.divx.update.agent.plist [Click for support]
        [loaded]    com.oracle.java.Java-Updater.plist [Click for support]
        [running]    com.wacom.wacomtablet.plist [Click for support]
        [loaded]    com.xrite.device.softwareupdate.plist [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [loaded]    com.adobe.SwitchBoard.plist [Click for support]
        [loaded]    com.microsoft.office.licensing.helper.plist [Click for support]
        [loaded]    com.oracle.java.Helper-Tool.plist [Click for support]
        [loaded]    com.oracle.java.JavaUpdateHelper.plist [Click for support]
        [loaded]    com.quark.quarkupdate.plist [Click for support]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.ARM.[...].plist [Click for support]
        [running]    com.c-command.SpamSieve.LaunchAgent.plist [Click for support]
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [running]    com.spotify.webhelper.plist [Click for support]
    User Login Items: ℹ️
        Dropbox    Application  (/Applications/Dropbox.app)
    Internet Plug-ins: ℹ️
        JavaAppletPlugin: Version: Java 8 Update 40 Check version
        OVSHelper: Version: 1.1 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        Flip4Mac WMV Plugin: Version: 3.3.3.1   - SDK 10.7 [Click for support]
        WacomTabletPlugin: Version: WacomTabletPlugin 2.1.0.6 - SDK 10.9 [Click for support]
        AdobePDFViewerNPAPI: Version: 11.0.10 - SDK 10.6 [Click for support]
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        DivX Web Player: Version: 3.2.4.1250 - SDK 10.6 [Click for support]
        LogMeIn: Version: 1.0.961 - SDK 10.7 [Click for support]
        Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        LogMeInSafari32: Version: 1.0.961 - SDK 10.7 [Click for support]
        QuickTime Plugin: Version: 7.7.3
        NP_2020Player_IKEA: Version: 5.0.94.1 - SDK 10.6 [Click for support]
        AdobePDFViewer: Version: 11.0.10 - SDK 10.6 [Click for support]
        SharePointBrowserPlugin: Version: 14.2.0 - SDK 10.6 [Click for support]
        Silverlight: Version: 5.1.20913.0 - SDK 10.6 [Click for support]
        MeetingJoinPlugin: Version: Unknown - SDK 10.6 [Click for support]
    Safari Extensions: ℹ️
        Pin It Button
    3rd Party Preference Panes: ℹ️
        Flash Player  [Click for support]
        Flip4Mac WMV  [Click for support]
        Java  [Click for support]
        Quark Update Preferences  [Click for support]
        WacomTablet  [Click for support]
    Time Machine: ℹ️
        Time Machine not configured!
    Top Processes by CPU: ℹ️
             8%    Dropbox
             4%    WindowServer
             1%    launchd
             0%    fontd
             0%    mds
    Top Processes by Memory: ℹ️
        155 MB    Safari
        103 MB    ocspd
        94 MB    Finder
        86 MB    Dropbox
        86 MB    com.apple.WebKit.WebContent
    Virtual Memory Information: ℹ️
        4.83 GB    Free RAM
        2.28 GB    Active RAM
        570 MB    Inactive RAM
        895 MB    Wired RAM
        1.19 GB    Page-ins
        0 B    Page-outs
    Diagnostics Information: ℹ️
        Mar 7, 2015, 10:37:14 PM    /Library/Logs/DiagnosticReports/WacomTabletDriver_2015-03-07-223714_[redacted]. crash
        Mar 7, 2015, 10:36:18 PM    Self test - passed
        Mar 7, 2015, 10:31:30 PM    /Library/Logs/DiagnosticReports/hasplmd_2015-03-07-223130_[redacted].crash
        Mar 7, 2015, 10:31:20 PM    /Library/Logs/DiagnosticReports/hasplmd_2015-03-07-223120_[redacted].crash
        Mar 7, 2015, 10:31:10 PM    /Library/Logs/DiagnosticReports/hasplmd_2015-03-07-223110_[redacted].crash
        Mar 7, 2015, 10:31:00 PM    /Library/Logs/DiagnosticReports/hasplmd_2015-03-07-223100_[redacted].crash
        Mar 7, 2015, 10:30:50 PM    /Library/Logs/DiagnosticReports/hasplmd_2015-03-07-223050_[redacted].crash
        Mar 7, 2015, 10:30:39 PM    /Library/Logs/DiagnosticReports/hasplmd_2015-03-07-223039_[redacted].crash
        Mar 7, 2015, 10:30:29 PM    /Library/Logs/DiagnosticReports/hasplmd_2015-03-07-223029_[redacted].crash
        Mar 7, 2015, 10:30:19 PM    /Library/Logs/DiagnosticReports/hasplmd_2015-03-07-223019_[redacted].crash
        Mar 7, 2015, 10:30:09 PM    /Library/Logs/DiagnosticReports/hasplmd_2015-03-07-223009_[redacted].crash
        Mar 7, 2015, 10:29:59 PM    /Library/Logs/DiagnosticReports/hasplmd_2015-03-07-222959_[redacted].crash
        Mar 7, 2015, 10:29:49 PM    /Library/Logs/DiagnosticReports/hasplmd_2015-03-07-222949_[redacted].crash
        Mar 7, 2015, 10:29:39 PM    /Library/Logs/DiagnosticReports/hasplmd_2015-03-07-222939_[redacted].crash
        Mar 7, 2015, 10:29:29 PM    /Library/Logs/DiagnosticReports/hasplmd_2015-03-07-222929_[redacted].crash
        Mar 7, 2015, 10:29:18 PM    /Library/Logs/DiagnosticReports/hasplmd_2015-03-07-222918_[redacted].crash
        Mar 7, 2015, 10:29:08 PM    /Library/Logs/DiagnosticReports/hasplmd_2015-03-07-222908_[redacted].crash
        Mar 7, 2015, 10:28:58 PM    /Library/Logs/DiagnosticReports/hasplmd_2015-03-07-222858_[redacted].crash
        Mar 7, 2015, 10:28:48 PM    /Library/Logs/DiagnosticReports/hasplmd_2015-03-07-222848_[redacted].crash
        Mar 7, 2015, 10:28:38 PM    /Library/Logs/DiagnosticReports/hasplmd_2015-03-07-222838_[redacted].crash
        Mar 7, 2015, 10:28:28 PM    /Library/Logs/DiagnosticReports/hasplmd_2015-03-07-222828_[redacted].crash
        Mar 7, 2015, 10:28:18 PM    /Library/Logs/DiagnosticReports/hasplmd_2015-03-07-222818_[redacted].crash
        Mar 7, 2015, 10:01:10 PM    /Library/Logs/DiagnosticReports/WacomTabletDriver_2015-03-07-220110_[redacted]. crash
        Mar 7, 2015, 09:49:54 PM    /Library/Logs/DiagnosticReports/WacomTabletDriver_2015-03-07-214954_[redacted]. crash
        Mar 7, 2015, 03:54:59 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.Plugin.64_201 5-03-07-155459_[redacted].crash
        Mar 7, 2015, 03:24:28 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_20 15-03-07-152428_[redacted].crash
        Mar 7, 2015, 03:23:36 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/NotificationCenter_2015-03-07- 152336_[redacted].crash
        Mar 5, 2015, 09:57:59 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.Plugin.64_201 5-03-05-215759_[redacted].crash
        Mar 5, 2015, 09:57:33 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.Plugin.64_201 5-03-05-215733_[redacted].crash
        Mar 5, 2015, 02:20:05 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/garcon_2015-03-05-142005_[reda cted].crash

    Start time: 20:36:24 03/08/15
    Revision: 1281
    Model Identifier: MacBookPro9,1
    System Version: OS X 10.10.2 (14C109)
    Kernel Version: Darwin 14.1.0
    Time since boot: 20 minutes
    UID: 501
    FileVault 2: On
    Energy (lifetime)
        kernel_task (UID 0): 7.41
    Trust settings: admin 1, user 4
    Firewall: On
    Diagnostic reports
        2015-02-17 quicklookd32 crash
        2015-02-18 com.apple.WebKit.Plugin.64 crash
        2015-02-19 quicklookd32 crash
        2015-02-23 com.apple.WebKit.Plugin.64 crash x2
        2015-02-23 quicklookd32 crash x2
        2015-02-24 com.apple.WebKit.Plugin.64 crash x3
        2015-02-25 com.apple.WebKit.Plugin.64 crash
        2015-02-27 com.apple.WebKit.Plugin.64 crash x2
        2015-02-28 com.apple.WebKit.Plugin.64 crash x2
        2015-03-02 garcon crash
        2015-03-03 Finder crash
        2015-03-03 garcon crash x2
        2015-03-03 quicklookd32 crash x7
        2015-03-04 Spotify Helper crash
        2015-03-04 com.apple.WebKit.Plugin.64 crash
        2015-03-04 garcon crash
        2015-03-05 com.apple.WebKit.Plugin.64 crash x2
        2015-03-05 garcon crash
        2015-03-07 NotificationCenter crash
        2015-03-07 WacomTabletDriver crash x3
        2015-03-07 com.apple.WebKit.Plugin.64 crash
        2015-03-07 com.apple.WebKit.WebContent crash
        2015-03-07 hasplmd crash x20
        2015-03-08 WacomTabletDriver crash x3
        2015-03-08 garcon crash
    HID errors: 5
    Kernel log
        Mar  8 14:24:17 SAM Multimedia: READ or WRITE failed, SENSE_KEY = 0x05, ASC = 0x20, ASCQ = 0x00
        Mar  8 14:26:18 considerRebuildOfPrelinkedKernel com.huawei.driver.cdc_usb_bus triggered rebuild
        Mar  8 15:20:32 SAM Multimedia: READ or WRITE failed, SENSE_KEY = 0x05, ASC = 0x20, ASCQ = 0x00
        Mar  8 15:20:32 SAM Multimedia: READ or WRITE failed, SENSE_KEY = 0x05, ASC = 0x20, ASCQ = 0x00
        Mar  8 15:20:32 SAM Multimedia: READ or WRITE failed, SENSE_KEY = 0x05, ASC = 0x20, ASCQ = 0x00
        Mar  8 15:20:32 SAM Multimedia: READ or WRITE failed, SENSE_KEY = 0x05, ASC = 0x20, ASCQ = 0x00
        Mar  8 15:20:32 SAM Multimedia: READ or WRITE failed, SENSE_KEY = 0x05, ASC = 0x20, ASCQ = 0x00
        Mar  8 15:22:25 Adobe Photoshop  (map: 0xffffff804ad57000) triggered DYLD shared region unnest for map: 0xffffff804ad57000, region 0x7fff95c00000->0x7fff95e00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Mar  8 15:30:32 SAM Multimedia: READ or WRITE failed, SENSE_KEY = 0x05, ASC = 0x20, ASCQ = 0x00
        Mar  8 15:30:32 SAM Multimedia: READ or WRITE failed, SENSE_KEY = 0x05, ASC = 0x20, ASCQ = 0x00
        Mar  8 15:30:32 SAM Multimedia: READ or WRITE failed, SENSE_KEY = 0x05, ASC = 0x20, ASCQ = 0x00
        Mar  8 15:30:32 SAM Multimedia: READ or WRITE failed, SENSE_KEY = 0x05, ASC = 0x20, ASCQ = 0x00
        Mar  8 15:30:32 SAM Multimedia: READ or WRITE failed, SENSE_KEY = 0x05, ASC = 0x20, ASCQ = 0x00
        Mar  8 16:53:39 usb_bus::rearm_notify: Failed to start notification pipe read - 0xe000404f (UNDEFINED)
        Mar  8 16:54:11 SAM Multimedia: READ or WRITE failed, SENSE_KEY = 0x05, ASC = 0x20, ASCQ = 0x00
        Mar  8 16:54:11 SAM Multimedia: READ or WRITE failed, SENSE_KEY = 0x05, ASC = 0x20, ASCQ = 0x00
        Mar  8 16:54:11 SAM Multimedia: READ or WRITE failed, SENSE_KEY = 0x05, ASC = 0x20, ASCQ = 0x00
        Mar  8 16:54:11 SAM Multimedia: READ or WRITE failed, SENSE_KEY = 0x05, ASC = 0x20, ASCQ = 0x00
        Mar  8 16:54:11 SAM Multimedia: READ or WRITE failed, SENSE_KEY = 0x05, ASC = 0x20, ASCQ = 0x00
        Mar  8 18:07:32 **** [IOBluetoothHostControllerUSBTransport][BulkInReadHandler] -- Received kIOUSBHighSpeedSplitError error -- retrying: 1 -- 0x0000 ****
        Mar  8 18:07:32 **** [BroadcomBluetoothHostControllerUSBTransport][LMPLoggingBulkInReadHandler] -- Received kIOUSBHighSpeedSplitError error -- retrying: 1 -- 0x0000
        Mar  8 18:07:33 **** [IOBluetoothHostControllerUSBTransport][ClearFeatureBulkEndpointHalt] -- successfully post another read on Bulk pipe -- 0x0000 ****
        Mar  8 19:33:28 usb_bus::rearm_notify: Failed to start notification pipe read - 0xe000404f (UNDEFINED)
        Mar  8 19:45:42 Failed to load kCouldn't alloc class "IOFireWireIP"
        Mar  8 19:45:43 Can't load kext com.apple.driverCouldn't alloc class "AppleThunderboltIPService"
    System log
        Mar  8 17:39:12 Adobe Photoshop CS6: Unable to setup extension context - error: Couldn’t communicate with a helper application.
        Mar  8 18:30:10 sharingd: 18:30:10.309 : SDActivityAdvertiser::continuity:didFailToStartAdvertisingOfType:withError: Activity (The operation couldn’t be completed. (com.apple.identityservices.error error 200.))
        Mar  8 19:11:02 SpamSieveHelper: Error loading /Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScript ingAdditions:  dlopen(/Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QX PScriptingAdditions, 262): no suitable image found.  Did find:
        /Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScript ingAdditions: mach-o, but wrong architecture
        Mar  8 19:36:47 sharingd: 19:36:47.162 : SDConnectionManager:: XPC connection invalidated
        Mar  8 19:46:28 sharingd: 19:46:28.965 ERROR:     AQMEIO.cpp:400: _FindIOUnit: error -66680
        Mar  8 19:46:28 sharingd: 19:46:28.965 ERROR:     AQMEIO.cpp:400: _FindIOUnit: error -66680
        Mar  8 19:46:28 sharingd: 19:46:28.966 ERROR:     AQMEIO.cpp:400: _FindIOUnit: error -66680
        Mar  8 19:50:29 Adobe Photoshop CS6: Error loading /Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScript ingAdditions:  dlopen(/Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QX PScriptingAdditions, 262): no suitable image found.  Did find:
        /Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScript ingAdditions: mach-o, but wrong architecture
        Mar  8 20:10:02 Mail: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Mar  8 20:10:02 Mail: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Mar  8 20:10:09 Mail: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Mar  8 20:10:09 Mail: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Mar  8 20:10:14 Mail: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Mar  8 20:10:14 Mail: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Mar  8 20:10:27 Mail: 20:10:27.420 ERROR:     AQMEIO.cpp:400: _FindIOUnit: error -66680
        Mar  8 20:10:27 Mail: 20:10:27.421 ERROR:     AQMEIO.cpp:400: _FindIOUnit: error -66680
        Mar  8 20:10:27 Mail: 20:10:27.421 ERROR:     AQMEIO.cpp:400: _FindIOUnit: error -66680
        Mar  8 20:12:36 Adobe Photoshop CS6: Error loading /Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScript ingAdditions:  dlopen(/Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QX PScriptingAdditions, 262): no suitable image found.  Did find:
        /Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScript ingAdditions: mach-o, but wrong architecture
        Mar  8 20:18:55 SpamSieveHelper: Error loading /Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScript ingAdditions:  dlopen(/Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QX PScriptingAdditions, 262): no suitable image found.  Did find:
        /Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScript ingAdditions: mach-o, but wrong architecture
        Mar  8 20:18:57 Adobe Photoshop CS6: Error loading /Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScript ingAdditions:  dlopen(/Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QX PScriptingAdditions, 262): no suitable image found.  Did find:
        /Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScript ingAdditions: mach-o, but wrong architecture
    launchd log
        Mar  7 21:10:17 com.apple.xpc.launchd.domain.user.loginwindow.72.4294967295: Could not import service from caller: caller = WacomTabletDriv.210, service = com.wacom.WacomTouchDriver.103976, error = 134: Service cannot load in requested session
        Mar  7 21:10:57 com.apple.xpc.launchd.user.501.100006.Aqua: Could not import service from caller: caller = otherbsd.233, service = com.evernote.EvernoteHelper, error = 119: Service is disabled
        Mar  7 21:10:57 com.apple.xpc.launchd.user.501.100006.Aqua: Could not import service from caller: caller = otherbsd.233, service = com.hp.devicemonitor, error = 119: Service is disabled
        Mar  7 21:40:29 com.apple.xpc.launchd.user.501.100006.Aqua: Could not read path: path = //com.apple.ManagedClientAgent.enrollagent, error = 2: No such file or directory
        Mar  7 21:49:48 com.apple.xpc.launchd.domain.user.loginwindow.67.4294967295: Could not import service from caller: caller = WacomTabletDriv.177, service = com.wacom.WacomTouchDriver.103976, error = 134: Service cannot load in requested session
        Mar  7 21:49:56 com.apple.xpc.launchd.user.501.100005.Aqua: Could not import service from caller: caller = otherbsd.205, service = com.evernote.EvernoteHelper, error = 119: Service is disabled
        Mar  7 21:49:56 com.apple.xpc.launchd.user.501.100005.Aqua: Could not import service from caller: caller = otherbsd.205, service = com.hp.devicemonitor, error = 119: Service is disabled
        Mar  7 22:01:05 com.apple.xpc.launchd.domain.user.loginwindow.67.4294967295: Could not import service from caller: caller = WacomTabletDriv.175, service = com.wacom.WacomTouchDriver.103976, error = 134: Service cannot load in requested session
        Mar  7 22:01:12 com.apple.xpc.launchd.user.501.100006.Aqua: Could not import service from caller: caller = otherbsd.195, service = com.evernote.EvernoteHelper, error = 119: Service is disabled
        Mar  7 22:01:12 com.apple.xpc.launchd.user.501.100006.Aqua: Could not import service from caller: caller = otherbsd.195, service = com.hp.devicemonitor, error = 119: Service is disabled
        Mar  7 22:37:10 com.apple.xpc.launchd.domain.user.loginwindow.64.4294967295: Could not import service from caller: caller = WacomTabletDriv.172, service = com.wacom.WacomTouchDriver.103976, error = 134: Service cannot load in requested session
        Mar  7 22:37:15 com.apple.xpc.launchd.user.501.100006.Aqua: Could not import service from caller: caller = otherbsd.190, service = com.evernote.EvernoteHelper, error = 119: Service is disabled
        Mar  7 22:37:15 com.apple.xpc.launchd.user.501.100006.Aqua: Could not import service from caller: caller = otherbsd.190, service = com.hp.devicemonitor, error = 119: Service is disabled
        Mar  8 00:02:18 com.apple.xpc.launchd.domain.system: Could not read path: path = /Library/LaunchDaemons/com.aladdin.hasplmd.plist, error = 2: No such file or directory
        Mar  8 00:18:50 com.apple.xpc.launchd.domain.user.loginwindow.66.4294967295: Could not import service from caller: caller = WacomTabletDriv.177, service = com.wacom.WacomTouchDriver.103976, error = 134: Service cannot load in requested session
        Mar  8 00:19:02 com.apple.xpc.launchd.user.501.100006.Aqua: Could not import service from caller: caller = otherbsd.195, service = com.evernote.EvernoteHelper, error = 119: Service is disabled
        Mar  8 00:19:02 com.apple.xpc.launchd.user.501.100006.Aqua: Could not import service from caller: caller = otherbsd.195, service = com.hp.devicemonitor, error = 119: Service is disabled
    Console log
        Mar  7 22:17:56 osascript: Error loading /Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScript ingAdditions:  dlopen(/Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QX PScriptingAdditions, 262): no suitable image found.  Did find:
        /Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScript ingAdditions: mach-o, but wrong architecture
        Mar  7 22:27:53 osascript: Error loading /Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScript ingAdditions:  dlopen(/Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QX PScriptingAdditions, 262): no suitable image found.  Did find:
        /Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScript ingAdditions: mach-o, but wrong architecture
        Mar  7 22:44:43 osascript: Error loading /Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScript ingAdditions:  dlopen(/Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QX PScriptingAdditions, 262): no suitable image found.  Did find:
        /Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScript ingAdditions: mach-o, but wrong architecture
        Mar  7 22:59:46 osascript: Error loading /Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScript ingAdditions:  dlopen(/Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QX PScriptingAdditions, 262): no suitable image found.  Did find:
        /Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScript ingAdditions: mach-o, but wrong architecture
        Mar  7 23:56:23 osascript: Error loading /Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScript ingAdditions:  dlopen(/Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QX PScriptingAdditions, 262): no suitable image found.  Did find:
        /Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScript ingAdditions: mach-o, but wrong architecture
        Mar  8 20:17:20 fontd: Failed to open read-only database, regenerating DB
    Loaded kernel extensions
        com.aladdin.kext.aksfridge (1.0.2)
    Daemons loaded
        com.adobe.fpsaud
        com.aladdin.aksusbd
        com.aladdin.hasplmd
        com.apple.watchdogd
        com.microsoft.office.licensing.helper
        com.oracle.java.Helper-Tool
        com.oracle.java.JavaUpdateHelper
        com.quark.quarkupdate
    Daemons disabled
        com.apple.mrt
    Login agents loaded
        com.apple.mrt.uiagent
        com.c-command.SpamSieve.LaunchAgent
        com.divx.dms.agent
        com.divx.update.agent
        com.google.keystone.user.agent
        com.oracle.java.Java-Updater
        com.skiptunes.skiptunes.Launcher
        com.spotify.webhelper
        com.wacom.wacomtablet
        com.xrite.device.softwareupdate.plist
    Login agents disabled
        com.adobe.AAM.Scheduler-1.0
    User agents disabled
        com.adobe.AAM.Scheduler-1.0
    Global login items
        /Library/CFMSupport/CNQL1213_ButtonManager.app
    Safari extensions
        Pin It Button
        - com.pinterest.extension
    Widgets
        Currency Converter
    iCloud errors
        bird 89
        cloudd 1
        CallHistorySyncHelper 1
    Continuity errors
        sharingd 12
        lsuseractivityd 9
    Restricted files: 223
    Lockfiles: 54
    Contents of /Library/LaunchAgents/com.divx.dms.agent.plist
        - mod date: Nov 17 08:11:48 2014
        - checksum: 637650676
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.divx.dms.agent</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Application Support/DivX/DivXMediaServer.app/Contents/MacOS/DivXMediaServer</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        </dict>
        </plist>
    Contents of /Library/LaunchAgents/com.divx.update.agent.plist
        - mod date: May 19 22:24:29 2014
        - checksum: 3867571547
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.divx.update.agent</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Application Support/DivX/DivXUpdate.app/Contents/MacOS/DivXUpdate</string>
        <string>/silent</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>StartInterval</key>
        <integer>10800</integer>
        </dict>
        </plist>
    Contents of /Library/LaunchAgents/com.oracle.java.Java-Updater.plist
        - mod date: Jul 26 02:57:15 2014
        - checksum: 832789739
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.oracle.java.Java-Updater</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Java Updater.app/Contents/MacOS/Java Updater</string>
        <string>-bgcheck</string>
        </array>
        <key>StandardErrorPath</key>
        <string>/dev/null</string>
        <key>StandardOutPath</key>
        <string>/dev/null</string>
        <key>StartCalendarInterval</key>
        <dict>
        <key>Hour</key>
        <integer>19</integer>
        <key>Minute</key>
        <integer>35</integer>
        <key>Weekday</key>
        <integer>4</integer>
        </dict>
        </dict>
        ...and 1 more line(s)
    Contents of /Library/LaunchAgents/com.wacom.wacomtablet.plist
        - mod date: Dec 22 21:04:59 2014
        - checksum: 2972905917
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>EnvironmentVariables</key>
        <dict>
        <key>RUN_WITH_LAUNCHD</key>
        <string>1</string>
        </dict>
        <key>KeepAlive</key>
        <dict>
        <key>SuccessfulExit</key>
        <true/>
        </dict>
        <key>Label</key>
        <string>com.wacom.wacomtablet</string>
        <key>LimitLoadToSessionType</key>
        <array>
        <string>Aqua</string>
        <string>LoginWindow</string>
        </array>
        <key>Program</key>
        <string>/Library/Application Support/Tablet/WacomTabletSpringboard</string>
        <key>RunAtLoad</key>
        <true/>
        ...and 4 more line(s)
    Contents of /Library/LaunchAgents/com.xrite.device.softwareupdate.plist
        - mod date: Jun 23 20:26:30 2014
        - checksum: 3055576921
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.xrite.device.softwareupdate.plist</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Application Support/X-Rite/Frameworks/XRiteDevice.framework/Versions/B/Resources/XRD Software Update.app/Contents/MacOS/XRD Software Update</string>
        </array>
        <key>RunAtLoad</key>
        <false/>
        <key>StartCalendarInterval</key>
        <dict>
        <key>Hour</key>
        <integer>9</integer>
        <key>Minute</key>
        <integer>0</integer>
        </dict>
        </dict>
        </plist>
    Contents of /Library/LaunchDaemons/com.aladdin.aksusbd.plist
        - mod date: Mar  8 00:06:41 2015
        - checksum: 2687272378
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.aladdin.aksusbd</string>
        <key>ProgramArguments</key>
        <array>
        <string>/usr/libexec/aksusbd</string>
        <string>-f</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>OnDemand</key>
        <false/>
        </dict>
        </plist>
    Contents of /Library/LaunchDaemons/com.aladdin.hasplmd.plist
        - mod date: Mar  8 00:06:41 2015
        - checksum: 2803165656
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.aladdin.hasplmd</string>
        <key>OnDemand</key>
        <false/>
        <key>ProgramArguments</key>
        <array>
        <string>/usr/libexec/hasplmd</string>
        <string>-s</string>
        <string>-f</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        </dict>
        </plist>
    Contents of /Library/LaunchDaemons/com.quark.quarkupdate.plist
        - mod date: Mar 18 23:38:19 2014
        - checksum: 920573843
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Disabled</key>
        <true/>
        <key>Label</key>
        <string>com.quark.quarkupdate</string>
        <key>OnDemand</key>
        <true/>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/PrivilegedHelperTools/com.quark.quarkupdate</string>
        </array>
        <key>ServiceIPC</key>
        <true/>
        <key>Sockets</key>
        <dict>
        <key>MasterSocket</key>
        <dict>
        <key>SockFamily</key>
        <string>Unix</string>
        <key>SockPathMode</key>
        <integer>438</integer>
        <key>SockPathName</key>
        ...and 7 more line(s)
    Contents of Library/LaunchAgents/com.adobe.ARM.UUID.plist
        - mod date: Nov  4 14:09:06 2014
        - checksum: 394026997
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.adobe.ARM.UUID</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Applications/Adobe Reader.app/Contents/MacOS/Updater/Adobe Reader Updater Helper.app/Contents/MacOS/Adobe Reader Updater Helper</string>
        <string>semi-auto</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>StartInterval</key>
        <integer>12600</integer>
        </dict>
        </plist>
    Contents of Library/LaunchAgents/com.c-command.SpamSieve.LaunchAgent.plist
        - mod date: Mar  8 20:19:07 2015
        - checksum: 2000492125
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>KeepAlive</key>
        <true/>
        <key>Label</key>
        <string>com.c-command.SpamSieve.LaunchAgent</string>
        <key>LimitLoadToSessionType</key>
        <string>Aqua</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Applications/SpamSieve.app/Contents/Frameworks/SpamSieveFramework.fram ework/Resources/SpamSieveLaunchAgent</string>
        <string>/Applications/SpamSieve.app</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        </dict>
        </plist>
    Contents of Library/LaunchAgents/com.google.keystone.agent.plist
        - mod date: Oct  8 19:08:38 2014
        - checksum: 3830877756
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.google.keystone.user.agent</string>
        <key>LimitLoadToSessionType</key>
        <string>Aqua</string>
        <key>ProgramArguments</key>
        <array>
         <string>/Users/USER/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bu ndle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/MacOS/GoogleSoftw areUpdateAgent</string>
         <string>-runMode</string>
         <string>ifneeded</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>StartInterval</key>
        <integer>3523</integer>
        <key>StandardErrorPath</key>
        <string>/dev/null</string>
        <key>StandardOutPath</key>
        <string>/dev/null</string>
        </dict>
        </plist>
    Contents of Library/LaunchAgents/com.spotify.webhelper.plist
        - mod date: Mar  8 18:11:08 2015
        - checksum: 819796354
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
         <key>Label</key>
         <string>com.spotify.webhelper</string>
         <key>KeepAlive</key>
         <dict>
          <key>NetworkState</key>
          <true/>
         </dict>
         <key>RunAtLoad</key>
         <true/>
         <key>Program</key>
         <string>/Users/USER/Library/Application Support/Spotify/SpotifyWebHelper</string>
         <key>SpotifyPath</key>
         <string>/Applications/Spotify.app</string></dict>
        </plist>
    Bad plists
        /Library/Preferences/com.epson.Inkjet Printer Driver.UnInstallList.plist
    Extensions
        /Library/Extensions/EPSONUSBPrintClass.kext
        - com.epson.print.kext.USBPrintClass
        /Library/Extensions/FTDIKext.kext
        - com.wacom.kext.ftdi
        /System/Library/Extensions/CNQL1213_ClassicNotSeize.kext
        - jp.co.canon.iokit.CNQL1213_ClassicNotSeize
        /System/Library/Extensions/EPSONUSBPrintClass.kext
        - com.epson.print.kext.USBPrintClass
        /System/Library/Extensions/HuaweiDataCardDriver.kext/Contents/PlugIns/HuaweiDat aCardACMControl.kext
        - com.huawei.driver.HuaweiDataCardACMControl
        /System/Library/Extensions/HuaweiDataCardDriver.kext/Contents/PlugIns/HuaweiDat aCardACMData.kext
        - com.huawei.driver.HuaweiDataCardACMData
        /System/Library/Extensions/HuaweiDataCardDriver.kext/Contents/PlugIns/HuaweiDat aCardActivateDriver.kext
        - com.huawei.driver.HuaweiDataCardActivateDriver
        /System/Library/Extensions/HuaweiDataCardDriver.kext/Contents/PlugIns/HuaweiDat aCardDMM.kext
        - com.huawei.driver.HuaweiDataCardDMM
        /System/Library/Extensions/HuaweiDataCardDriver.kext/Contents/PlugIns/HuaweiDat aCardECMControl.kext
        - com.huawei.driver.HuaweiDataCardECMControl
        /System/Library/Extensions/HuaweiDataCardDriver.kext/Contents/PlugIns/HuaweiDat aCardECMData.kext
        - com.huawei.driver.HuaweiDataCardECMData
        /System/Library/Extensions/HuaweiDataCardDriver.kext/Contents/PlugIns/HuaweiDat aCardHidPort.kext
        - com.huawei.driver.HuaweiDataCardHiPortDriver
        /System/Library/Extensions/HuaweiDataCardDriver.kext/Contents/PlugIns/HuaweiDat aCardJUBusDriver.kext
        - com.huawei.driver.cdc_usb_bus
        /System/Library/Extensions/HuaweiDataCardDriver.kext/Contents/PlugIns/HuaweiDat aCardJUCDCACM.kext
        - com.huawei.driver.cdc_acm
        /System/Library/Extensions/HuaweiDataCardDriver.kext/Contents/PlugIns/HuaweiDat aCardJUCDCECM.kext
        - com.huawei.driver.cdc_ecm
        /System/Library/Extensions/HuaweiDataCardDriver.kext/Contents/PlugIns/HuaweiDat aCardJUCDCNCM.kext
        - com.huawei.driver.cdc_ncm
        /System/Library/Extensions/HuaweiDataCardDriver.kext/Contents/PlugIns/HuaweiDat aCardJUNetwork.kext
        - com.huawei.driver.dc_net
        /System/Library/Extensions/HuaweiDataCardDriver.kext/Contents/PlugIns/HuaweiLog Level.kext
        - com.huawei.driver.HuaweiLogLevle
        /System/Library/Extensions/HuaweiDataCardDriver.kext
        - com.huawei.driver.HuaweiDataCardDriver
        /System/Library/Extensions/JMicronATA.kext
        - com.jmicron.JMicronATA
        /System/Library/Extensions/RoxioBluRaySupport.kext
        - com.roxio.BluRaySupport
        /System/Library/Extensions/SiLabsUSBDriver.kext
        - com.silabs.driver.CP210xVCPDriver
        /System/Library/Extensions/SiLabsUSBDriver64.kext
        - com.silabs.driver.CP210xVCPDriver64
        /System/Library/Extensions/USBExpressCardCantWake_Huawei.kext
        - com.apple.dts.driver.USBExpressCardCantWake
        /System/Library/Extensions/Wacom Tablet.kext
        - com.wacom.kext.wacomtablet
    Applications
        /Applications/3MobileWiFi.app
        - N/A
        /Applications/Adobe After Effects CS6/Plug-ins/Effects/Synthetic Aperture/(CF3 Support)/SA Color Finesse 3 UI.app
        - com.synthetic-ap.SA Color Finesse 3 UI
        /Applications/Adobe After Effects CS6/Plug-ins/Effects/mochaAE/(Mocha Support)/mocha AE CS6.app
        - com.imagineersystems.mocha4ae_adobe
        /Applications/Adobe Flash Builder 4.6/eclipse/Eclipse.app
        - org.eclipse.eclipse
        /Applications/Adobe Flash Builder 4.6/sdks/4.6.0/lib/nai/lib/naib.app
        - APP_ID
        /Applications/Adobe Flash Builder 4.6/sdks/4.6.0/runtimes/air/mac/Adobe AIR.framework/Versions/1.0/Resources/Template.app
        - com.adobe.air.NativeTemplate
        /Applications/Adobe Flash CS6/AIR3.2/lib/nai/lib/naib.app
        - APP_ID
        /Applications/Adobe Flash CS6/AIR3.2/runtimes/air/mac/Adobe AIR.framework/Versions/1.0/Resources/Template.app
        - com.adobe.air.NativeTemplate
        /Applications/Adobe Flash CS6/Common/Configuration/Simulator/SimController.app
        - SimController
        /Applications/Adobe/Adobe Help.app
        - chc.UUID.1
        /Applications/AppZapper.app
        - com.appzapper.AppZapper
        /Applications/CanoScan Toolbox 4.9/CanoScan Toolbox X.app
        - com.canon.CanoScan Toolbox 4.9
        /Applications/DivX/DivX Preferences.app
        - com.divx.divxprefs
        /Applications/DivX/Uninstall DivX for Mac.app
        - com.divxinc.uninstalldivxformac
        /Applications/Epson Registration.app
        - com.epson.IJPrinter.OnlineRegistration.1
        /Applications/HandBrake.app
        - fr.handbrake.HandBrake
        /Applications/Microsoft Office 2011/Office/Add-Ins/Solver.app
        - com.apple.ASApplication
        /Applications/Microsoft Office 2011/Office/Equation Editor.app
        - com.microsoft.EquationEditor
        /Applications/Microsoft Office 2011/Office/Microsoft Office Setup Assistant.app
        - com.microsoft.office.setupassistant
        /Applications/Microsoft Office 2011/Office/Microsoft Query.app
        - N/A
        /Applications/PANTONE Color Manager.app
        - com.xrite.pantonecolormanager
        /Applications/QuarkXPress 10/Help/QXP Activation.app
        - com.quark.QuarkXPress8.5
        /Applications/QuarkXPress 10/Help/QXP Help.app
        - com.quark.QuarkXPress10.0
        /Applications/QuarkXPress 10/QuarkXPress.app
        - com.quark.QuarkXPress
        /Applications/QuarkXPress 10/XTensions/ErrorReportingUI.xnt/Contents/Frameworks/ILCrashReporter.framework /Versions/A/Resources/CrashReporter.app
        - com.quark.crashreporter
        /Applications/Toast 11 Titanium/Disc Cover 3 RE.app
        - com.belightsoft.DiscCover3.re
        /Applications/Toast 11 Titanium/DiskCatalogMaker.app
        - com.mac.fujisoft.DiskCatalogMaker
        /Applications/Toast 11 Titanium/Get Backup 2 RE.app
        - com.belightsoft.GetBackup2RE
        /Applications/Toast 11 Titanium/Mac2Tivo.app
        - com.roxio.Mac2Tivo
        /Applications/Toast 11 Titanium/Spin Doctor.app
        - com.roxio.spindoctorx
        /Applications/Toast 11 Titanium/TiVo Transfer.app
        - com.tivo.desktop
        /Applications/UnRarX.app
        - com.peternoriega.unrarx
        /Applications/Utilities/Adobe AIR Application Installer.app
        - com.adobe.air.ApplicationInstaller
        /Applications/Utilities/Adobe AIR Uninstaller.app
        - com.adobe.air.Installer
        /Applications/Wacom Tablet.localized/Wacom Help.app
        - com.intel.nw
        /Applications/Wordify.app
        - com.tgxmedia.macwordify
        /Library/Application Support/Adobe/Installers/AdobeInDesign8AppBase/ExtraFiles/INSTALLDIR_EXE/Adobe InDesign CS6.app
        - N/A
        /Library/Application Support/Adobe/SwitchBoard/SwitchBoard.app
        - com.adobe.switchboard-2.0
        /Library/Application Support/DivX/DivXTransferWizard.app
        - com.divx.TransferWizard
        /Library/Application Support/DivX/DivXUpdate.app
        - com.divx.DivXUpdate
        /Library/Application Support/DivX/DivXUpdater.app
        - com.divx.DivXUpdater
        /Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app
        - com.microsoft.autoupdate2
        /Library/Application Support/Microsoft/Silverlight/OutOfBrowser/SLLauncher.app
        - com.microsoft.silverlight.sllauncher
        /Library/Application Support/Quark/AutoUpdate/QuarkUpdate.app
        - com.quark.quarkupdate
        /Library/Application Support/X-Rite/Frameworks/XRiteDevice.framework/Versions/B/Resources/X-Rite Device Services.app
        - com.xrite.device.X-Rite-Device-Services
        /Library/CFMSupport/CNQL1213_ButtonManager.app
        - jp.co.canon.scanner.CNQL2410_ButtonManager
        /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app
        - com.adobe.air.ApplicationInstaller
        /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater.app
        - com.adobe.air.Installer
        /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Template.app
        - com.adobe.air.Template
        /Library/Image Capture/TWAIN Data Sources/CanoScan LiDE 25.ds
        - com.twainds.scangear1100.canon
        /Library/PDF Services/Save as Adobe PDF.app
        - com.apple.automator.SaveasAdobePDF
        /Library/Printers/EPSON/InkjetPrinter2/Utility/UT4/EpsonSuppliesTool4.app
        - com.epson.ijprinter.EpsonSuppliesTool4
        /Library/Printers/hp/Fax/fax.backend
        - com.hp.fax
        /Library/Printers/hp/Fax/rastertofax.filter
        - com.hp.rastertofax
        /Library/Printers/hp/cups/filters/pdftopdf.filter
        - com.hp.print.cups.filter.pdftopdf
        /Users/USER/Dropbox/Work in progress 5:10:12/zip 1/Using Zip Disks
        - N/A
        /Users/USER/Dropbox/Work in progress 5:10:12/zip 2/post script/b/Barnbrook Gothic T1 &TT/•Read ME-BarnbrookGothic:•Read ME-BarnbrookGothic:
        - N/A
        /Users/USER/Library/Services/ToastIt.service
        - com.roxio.ToastItService
    Frameworks
        /Library/Frameworks/Adobe AIR.framework
        - com.adobe.AIR
        /Library/Frameworks/DivX Toolkit.framework
        - com.divx.divxtoolkit
        /Library/Frameworks/DivXInstallerUtilities.framework
        - com.yourcompany.DivXInstallerUtilities
        /Library/Frameworks/QuarkUpdateInterface.framework
        - com.quark.QuarkUpdateInterface
        /Library/Frameworks/SGCS110.framework
        - com.frameworks.scangear1100.canon
        /Library/Frameworks/TSLicense.framework
        - net.telestream.license
        /Library/Frameworks/WacomMultiTouch.framework
        - com.wacom.WacomMultiTouch
        /Library/Frameworks/XRiteDevice.framework
        - com.xrite.xritedevice
        /Users/USER/Library/Frameworks/EWSMac-GC.framework
        - com.eSellerate.EWSMac83886082
    PrefPane
        /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/deploy/JavaControlPanel.pref Pane
        - com.oracle.java.JavaControlPanel
        /Library/PreferencePanes/Flash Player.prefPane
        - com.adobe.flashplayerpreferences
        /Library/PreferencePanes/Flip4Mac WMV.prefPane
        - net.telestream.wmv.prefpane
        /Library/PreferencePanes/QUPreferencePane.prefPane
        - com.quark.QUPreferencePane
        /Library/PreferencePanes/WacomTablet.prefPane
        - com.wacom.settingsPrefPane
    Bundles
        /Library/Application Support/Adobe/APE/3.201/adbeapecore.framework/Versions/A/Frameworks/Adobe AIR.framework/Versions/1.0/Libraries/Flash Player.plugin
        - com.macromedia.FlashPlayer-10.6.plugin
        /Library/Application Support/Adobe/APE/3.3/adbeapecore.framework/Versions/A/Libraries/Flash Player.plugin
        - com.macromedia.FlashPlayer-10.4-10.5.plugin
        /Library/Application Support/Adobe/Plug-Ins/CS6/File Formats/Camera Raw.plugin
        - com.adobe.CameraRaw
        /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/AdobeCP15.plugin
        - com.adobe.adobecp
        /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Flash Player.plugin
        - com.macromedia.FlashPlayer-10.6.plugin
        /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/adobecp.plugin
        - com.adobe.adobecp20
        /Library/Image Capture/TWAIN Data Sources/CanoScan LiDE 25.ds/Contents/PlugIns/CNQL1213_Library.plugin
        - jp.co.canon.scanner.CNQL1213_Library
        /Library/Internet Plug-Ins/AdobePDFViewer.plugin
        - com.adobe.acrobat.pdfviewer
        /Library/Internet Plug-Ins/AdobePDFViewerNPAPI.plugin
        - com.adobe.acrobat.pdfviewerNPAPI
        /Library/Internet Plug-Ins/DivX Web Player.plugin
        - com.divx.DivXWebPlayer
        /Library/Internet Plug-Ins/Flash Player.plugin
        - com.macromedia.Flash Player.plugin
        /Library/Internet Plug-Ins/Flip4Mac WMV Plugin.plugin
        - net.telestream.wmv.plugin
        /Library/Internet Plug-Ins/JavaAppletPlugin.plugin
        - com.oracle.java.JavaAppletPlugin
        /Library/Internet Plug-Ins/LogMeIn.plugin
        - com.logmein.remctrlplugin
        /Library/Internet Plug-Ins/LogMeInSafari32.plugin
        - com.logmein.remctrlplugin
        /Library/Internet Plug-Ins/MeetingJoinPlugin.plugin
        - com.microsoft.communicator.meetingjoinplugin
        /Library/Internet Plug-Ins/NP_2020Player_IKEA.plugin
        - com.2020technologies.2020Player-IKEA.NP
        /Library/Internet Plug-Ins/OVSHelper.plugin
        - com.divx.OVSHelper
        /Library/Internet Plug-Ins/SharePointBrowserPlugin.plugin
        - com.microsoft.sharepoint.browserplugin
        /Library/Internet Plug-Ins/Silverlight.plugin
        - com.microsoft.SilverlightPlugin
        /Library/Internet Plug-Ins/WacomTabletPlugin.plugin
        - com.WacomTabletPluginLib.WacomTabletPlugin
        /Library/QuickLook/QuarkXPress.qlgenerator
        - com.quark.xpress
        /Library/Spotlight/QuarkXPress.mdimporter
        - com.quark.xpress.v6
        /Users/USER/Library/Address Book Plug-Ins/SkypeABDialer.bundle
        - com.skype.skypeabdialer
        /Users/USER/Library/Address Book Plug-Ins/SkypeABSMS.bundle
        - com.skype.skypeabsms
        /Users/USER/Library/Widgets/Currency Converter.wdgt
        - net.palple.widget.currencyconverter
    Bundles (new)
        /Applications/Adobe Reader.app
        - com.adobe.Reader
        /Applications/App Store.app
        - com.apple.appstore
        /Applications/AppZapper.app
        - com.appzapper.AppZapper
        /Applications/Automator.app
        - com.apple.Automator
        /Applications/Calculator.app
        - com.apple.calculator
        /Applications/Calendar.app
        - com.apple.iCal
        /Applications/Chess.app
        - com.apple.Chess
        /Applications/Contacts.app
        - com.apple.AddressBook
        /Applications/DVD Player.app
        - com.apple.DVDPlayer
        /Applications/Dashboard.app
        - com.apple.dashboardlauncher
        /Applications/Dictionary.app
        - com.apple.Dictionary
        /Applications/DivX Converter.app
        - com.divx.DivXConverterX
        /Applications/DivX Player.app
        - com.divx.DivX_Player
        /Applications/Dropbox.app
        - com.getdropbox.dropbox
        /Applications/Epson Registration.app
        - com.epson.IJPrinter.OnlineRegistration.1
        /Applications/EtreCheck.app
        - com.etresoft.EtreCheck
        /Applications/Evernote.app
        - com.evernote.Evernote
        /Applications/FaceTime.app
        - com.apple.FaceTime
        /Applications/Firefox.app
        - org.mozilla.firefox
        /Applications/Flip4Mac/Flip Player.app
        - net.telestream.Flip-Player
        /Applications/Font Book.app
        - com.apple.FontBook
        /Applications/Game Center.app
        - com.apple.gamecenter
        /Applications/GarageBand.app
        - com.apple.garageband
        /Applications/Google Chrome.app
        - com.google.Chrome
        /Applications/HandBrake.app
        - fr.handbrake.HandBrake
        /Applications/Image Capture.app
        - com.apple.Image_Capture
        /Applications/Launchpad.app
        - com.apple.launchpad.launcher
        /Applications/LogMeIn Client.app
        - com.logmein.LogMeInClient
        /Applications/Mail.app
        - com.apple.mail
        /Applications/Maps.app
        - com.apple.Maps
        /Applications/Messages.app
        - com.apple.iChat
        /Applications/Mission Control.app
        - com.apple.exposelauncher
        /Applications/Notes.app
        - com.apple.Notes
        /Applications/PANTONE Color Manager.app
        - com.xrite.pantonecolormanager
        /Applications/Photo Booth.app
        - com.apple.PhotoBooth
        /Applications/Preview.app
        - com.apple.Preview
        /Applications/QuickTime Player.app
        - com.apple.QuickTimePlayerX
        /Applications/Reminders.app
        - com.apple.reminders
        /Applications/Safari.app
        - com.apple.Safari
        /Applications/Skip Tunes.app
        - com.skiptunes.skiptunes
        /Applications/Skype.app
        - com.skype.skype
        /Applications/SpamSieve.app
        - com.c-command.SpamSieve
        /Applications/Spotify.app
        - com.spotify.client
        /Applications/Stickies.app
        - com.apple.Stickies
        /Applications/StuffIt Expander.app
        - com.stuffit.StuffIt-Expander
        /Applications/System Preferences.app
        - com.apple.systempreferences
        /Applications/TextEdit.app
        - com.apple.TextEdit
        /Applications/Time Machine.app
        - com.apple.backup.launcher
        /Applications/Transmission.app
        - org.m0k.transmission
        /Applications/UnRarX.app
        - com.peternoriega.unrarx
        /Applications/Utilities/Activity Monitor.app
        - com.apple.ActivityMonitor
        /Applications/Utilities/Adobe AIR Application Installer.app
        - com.adobe.air.ApplicationInstaller
        /Applications/Utilities/Adobe AIR Uninstaller.app
        - com.adobe.air.Installer
        /Applications/Utilities/Adobe Flash Player Install Manager.app
        - com.adobe.flashplayer.installmanager
        /Applications/Utilities/AirPort Utility.app
        - com.apple.airport.airportutility
        /Applications/Utilities/Audio MIDI Setup.app
        - com.apple.audio.AudioMIDISetup
        /Applications/Utilities/Bluetooth File Exchange.app
        - com.apple.BluetoothFileExchange
        /Applications/Utilities/Boot Camp Assistant.app
        - com.apple.bootcampassistant
        /Applications/Utilities/ColorSync Utility.app
        - com.apple.ColorSyncUtility
        /Applications/Utilities/Console.app
        - com.apple.Console
        /Applications/Utilities/Digital Color Meter.app
        - com.apple.DigitalColorMeter
        /Applications/Utilities/Disk Utility.app
        - com.apple.DiskUtility
        /Applications/Utilities/Grab.app
        - com.apple.Grab
        /Applications/Utilities/Grapher.app
        - com.apple.grapher
        /Applications/Utilities/Keychain Access.app
        - com.apple.keychainaccess
        /Applications/Utilities/Migration Assistant.app
        - com.apple.MigrateAssistant
        /Applications/Utilities/Script Editor.app
        - com.apple.ScriptEditor2
        /Applications/Utilities/System Information.app
        - com.apple.SystemProfiler
        /Applications/Utilities/Terminal.app
        - com.apple.Terminal
        /Applications/Utilities/VoiceOver Utility.app
        - com.apple.VoiceOverUtility
        /Applications/Utilities/X11.app
        - com.apple.X11redirect
        /Applications/VLC.app
        - org.videolan.vlc
        /Applications/Wacom Tablet.localized/Wacom Desktop Center.app
        - com.wacom.Wacom-Desktop-Center
        /Applications/Wacom Tablet.localized/Wacom Display Settings.app
        - com.wacom.Wacom-Display-Settings
        /Applications/Wacom Tablet.localized/Wacom Tablet Utility.app
        - com.wacom.RemoveWacomTablet
        /Applications/Wordify.app
        - com.tgxmedia.macwordify
        /Applications/iBooks.app
        - com.apple.iBooksX
        /Applications/iMovie.app
        - com.apple.iMovieApp
        /Applications/iPhoto.app
        - com.apple.iPhoto
        /Applications/iTunes.app
        - com.apple.iTunes
        /Library/Application Support/Apple/BezelServices/AppleBluetoothHIDKeyboard.plugin
        - com.apple.BezelServices.AppleBluetoothHIDKeyboard
        /Library/Application Support/Apple/BezelServices/AppleBluetoothHIDMouse.plugin
        - com.apple.AppleBluetoothHIDMouse
        /Library/Application Support/Apple/BezelServices/AppleBluetoothMultitouch.plugin
        - com.apple.BezelServices.AppleBluetoothMultitouch
        /Library/Application Support/Apple/BezelServices/AppleHIDMouse.plugin
        - com.apple.AppleHIDMouse
        /Library/Application Support/Apple/BezelServices/AppleIRController.plugin

  • Regex find and replace

    I have inherited a boatload of code that I need to "tweak".
    Currently, it contains many hundreds of refrences to a 2d
    array and
    references constants that I want to change to function calls.
    i.e.
    v(Svc,FutWTMargin)
    I want that to be changed into:
    v(Svc,getcol("FutWTMargin"))
    Now the bit in quotes "FutWTMargin" has many variations, but
    the structure
    of the original 2d array references are all consistent - it's
    just that
    there are several hundred of them that I need to change.
    Can someone help out with a regex that can change the
    FutWTMargin part to
    getcol("FutWTMargin") regardless of what the FutWTMargin text
    might actually
    say?
    Note to self... must learn regex at some point!
    Cheers,
    Rob
    http://robgt.com/ [Tutorials and
    Extensions]
    Firebox stuff:
    http://robgt.com/firebox
    Skype stuff:
    http://robgt.com/skype
    Dell stuff:
    http://robgt.com/dell
    SatNav stuff:
    http://robgt.com/satnav

    Thanks Mick!
    Cheers,
    Rob
    http://robgt.com/ [Tutorials and
    Extensions]
    Firebox stuff:
    http://robgt.com/firebox
    Skype stuff:
    http://robgt.com/skype
    Dell stuff:
    http://robgt.com/dell
    SatNav stuff:
    http://robgt.com/satnav

  • Find Replace from Textfile with regex

    Hello.
    I'm wondering if anyone knows about an existing script that does a find/replace by list like the script "FindChangeByList.jsx" that comes with every InDesign installation.
    This consists of tow parts, the script itself with the functionality and a simple textfile where you have simple one-liners capable of find/replace with regex.
    the Textfile:
    //FindChangeList.txt
    //A support file for the InDesign CS4 JavaScript FindChangeByList.jsx
    //This data file is tab-delimited, with carriage returns separating records.
    //The format of each record in the file is:
    //findType<tab>findProperties<tab>changeProperties<tab>findChangeOptions<tab>description
    //Where:
    //<tab> is a tab character
    //findType is "text", "grep", or "glyph" (this sets the type of find/change operation to use).
    //findProperties is a properties record (as text) of the find preferences.
    //changeProperties is a properties record (as text) of the change preferences.
    //findChangeOptions is a properties record (as text) of the find/change options.
    //description is a description of the find/change operation
    //Very simple example:
    //text          {findWhat:"--"}          {changeTo:"^_"}          {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}          Find all double dashes and replace with an em dash.
    //More complex example:
    //text          {findWhat:"^9^9.^9^9"}          {appliedCharacterStyle:"price"}          {include footnotes:true, include master pages:true, include hidden layers:true, whole word:false}          Find $10.00 to $99.99 and apply the character style "price".
    //All InDesign search metacharacters are allowed in the "findWhat" and "changeTo" properties for findTextPreferences and changeTextPreferences.
    //If you enter backslashes in the findWhat property of the findGrepPreferences object, they must be "escaped"
    //as shown in the example below:
    //{findWhat:"\\s+"}
    grep          {findWhat:"  +"}          {changeTo:" "}          {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}          Find all double spaces and replace with single spaces.
    grep          {findWhat:"\r "}          {changeTo:"\r"}          {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}          Find all returns followed by a space And replace with single returns.
    grep          {findWhat:" \r"}          {changeTo:"\r"}          {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}          Find all returns followed by a space and replace with single returns.
    grep          {findWhat:"\t\t+"}          {changeTo:"\t"}          {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}          Find all double tab characters and replace with single tab characters.
    grep          {findWhat:"\r\t"}          {changeTo:"\r"}          {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}          Find all returns followed by a tab character and replace with single returns.
    grep          {findWhat:"\t\r"}          {changeTo:"\r"}          {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}          Find all returns followed by a tab character and replace with single returns.
    grep          {findWhat:"\r\r+"}          {changeTo:"\r"}          {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}          Find all double returns and replace with single returns.
    text          {findWhat:" - "}          {changeTo:"^="}          {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}          Find all space-dash-space and replace with an en dash.
    text          {findWhat:"--"}          {changeTo:"^_"}          {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}          Find all dash-dash and replace with an em dash.
    The script:
    //FindChangeByList.jsx
    //An InDesign CS5.5 JavaScript
    @@@BUILDINFO@@@ "FindChangeByList.jsx" 3.0.0 15 December 2009
    //Loads a series of tab-delimited strings from a text file, then performs a series
    //of find/change operations based on the strings read from the file.
    //The data file is tab-delimited, with carriage returns separating records.
    //The format of each record in the file is:
    //findType<tab>findProperties<tab>changeProperties<tab>findChangeOptions<tab>description
    //Where:
    //<tab> is a tab character
    //findType is "text", "grep", or "glyph" (this sets the type of find/change operation to use).
    //findProperties is a properties record (as text) of the find preferences.
    //changeProperties is a properties record (as text) of the change preferences.
    //findChangeOptions is a properties record (as text) of the find/change options.
    //description is a description of the find/change operation
    //Very simple example:
    //text          {findWhat:"--"}          {changeTo:"^_"}          {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}          Find all double dashes and replace with an em dash.
    //More complex example:
    //text          {findWhat:"^9^9.^9^9"}          {appliedCharacterStyle:"price"}          {include footnotes:true, include master pages:true, include hidden layers:true, whole word:false}          Find $10.00 to $99.99 and apply the character style "price".
    //All InDesign search metacharacters are allowed in the "findWhat" and "changeTo" properties for findTextPreferences and changeTextPreferences.
    //If you enter backslashes in the findWhat property of the findGrepPreferences object, they must be "escaped"
    //as shown in the example below:
    //{findWhat:"\\s+"}
    //For more on InDesign scripting, go to http://www.adobe.com/products/indesign/scripting/index.html
    //or visit the InDesign Scripting User to User forum at http://www.adobeforums.com
    main();
    function main(){
              var myObject;
              //Make certain that user interaction (display of dialogs, etc.) is turned on.
              app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;
              if(app.documents.length > 0){
                        if(app.selection.length > 0){
                                  switch(app.selection[0].constructor.name){
                                            case "InsertionPoint":
                                            case "Character":
                                            case "Word":
                                            case "TextStyleRange":
                                            case "Line":
                                            case "Paragraph":
                                            case "TextColumn":
                                            case "Text":
                                            case "Cell":
                                            case "Column":
                                            case "Row":
                                            case "Table":
                                                      myDisplayDialog();
                                                      break;
                                            default:
                                                      //Something was selected, but it wasn't a text object, so search the document.
                                                      myFindChangeByList(app.documents.item(0));
                        else{
                                  //Nothing was selected, so simply search the document.
                                  myFindChangeByList(app.documents.item(0));
              else{
                        alert("No documents are open. Please open a document and try again.");
    function myDisplayDialog(){
              var myObject;
              var myDialog = app.dialogs.add({name:"FindChangeByList"});
              with(myDialog.dialogColumns.add()){
                        with(dialogRows.add()){
                                  with(dialogColumns.add()){
                                            staticTexts.add({staticLabel:"Search Range:"});
                                  var myRangeButtons = radiobuttonGroups.add();
                                  with(myRangeButtons){
                                            radiobuttonControls.add({staticLabel:"Document", checkedState:true});
                                            radiobuttonControls.add({staticLabel:"Selected Story"});
                                            if(app.selection[0].contents != ""){
                                                      radiobuttonControls.add({staticLabel:"Selection", checkedState:true});
              var myResult = myDialog.show();
              if(myResult == true){
                        switch(myRangeButtons.selectedButton){
                                  case 0:
                                            myObject = app.documents.item(0);
                                            break;
                                  case 1:
                                            myObject = app.selection[0].parentStory;
                                            break;
                                  case 2:
                                            myObject = app.selection[0];
                                            break;
                        myDialog.destroy();
                        myFindChangeByList(myObject);
              else{
                        myDialog.destroy();
    function myFindChangeByList(myObject){
              var myScriptFileName, myFindChangeFile, myFindChangeFileName, myScriptFile, myResult;
              var myFindChangeArray, myFindPreferences, myChangePreferences, myFindLimit, myStory;
              var myStartCharacter, myEndCharacter;
              var myFindChangeFile = myFindFile("/FindChangeSupport/FindChangeList.txt")
              if(myFindChangeFile != null){
                        myFindChangeFile = File(myFindChangeFile);
                        var myResult = myFindChangeFile.open("r", undefined, undefined);
                        if(myResult == true){
                                  //Loop through the find/change operations.
                                  do{
                                            myLine = myFindChangeFile.readln();
                                            //Ignore comment lines and blank lines.
                                            if((myLine.substring(0,4)=="text")||(myLine.substring(0,4)=="grep")|| (myLine.substring(0,5)=="glyph")){
                                                      myFindChangeArray = myLine.split("\t");
                                                      //The first field in the line is the findType string.
                                                      myFindType = myFindChangeArray[0];
                                                      //The second field in the line is the FindPreferences string.
                                                      myFindPreferences = myFindChangeArray[1];
                                                      //The second field in the line is the ChangePreferences string.
                                                      myChangePreferences = myFindChangeArray[2];
                                                      //The fourth field is the range--used only by text find/change.
                                                      myFindChangeOptions = myFindChangeArray[3];
                                                      switch(myFindType){
                                                                case "text":
                                                                          myFindText(myObject, myFindPreferences, myChangePreferences, myFindChangeOptions);
                                                                          break;
                                                                case "grep":
                                                                          myFindGrep(myObject, myFindPreferences, myChangePreferences, myFindChangeOptions);
                                                                          break;
                                                                case "glyph":
                                                                          myFindGlyph(myObject, myFindPreferences, myChangePreferences, myFindChangeOptions);
                                                                          break;
                                  } while(myFindChangeFile.eof == false);
                                  myFindChangeFile.close();
    function myFindText(myObject, myFindPreferences, myChangePreferences, myFindChangeOptions){
              //Reset the find/change preferences before each search.
              app.changeTextPreferences = NothingEnum.nothing;
              app.findTextPreferences = NothingEnum.nothing;
              var myString = "app.findTextPreferences.properties = "+ myFindPreferences + ";";
              myString += "app.changeTextPreferences.properties = " + myChangePreferences + ";";
              myString += "app.findChangeTextOptions.properties = " + myFindChangeOptions + ";";
              app.doScript(myString, ScriptLanguage.javascript);
              myFoundItems = myObject.changeText();
              //Reset the find/change preferences after each search.
              app.changeTextPreferences = NothingEnum.nothing;
              app.findTextPreferences = NothingEnum.nothing;
    function myFindGrep(myObject, myFindPreferences, myChangePreferences, myFindChangeOptions){
              //Reset the find/change grep preferences before each search.
              app.changeGrepPreferences = NothingEnum.nothing;
              app.findGrepPreferences = NothingEnum.nothing;
              var myString = "app.findGrepPreferences.properties = "+ myFindPreferences + ";";
              myString += "app.changeGrepPreferences.properties = " + myChangePreferences + ";";
              myString += "app.findChangeGrepOptions.properties = " + myFindChangeOptions + ";";
              app.doScript(myString, ScriptLanguage.javascript);
              var myFoundItems = myObject.changeGrep();
              //Reset the find/change grep preferences after each search.
              app.changeGrepPreferences = NothingEnum.nothing;
              app.findGrepPreferences = NothingEnum.nothing;
    function myFindGlyph(myObject, myFindPreferences, myChangePreferences, myFindChangeOptions){
              //Reset the find/change glyph preferences before each search.
              app.changeGlyphPreferences = NothingEnum.nothing;
              app.findGlyphPreferences = NothingEnum.nothing;
              var myString = "app.findGlyphPreferences.properties = "+ myFindPreferences + ";";
              myString += "app.changeGlyphPreferences.properties = " + myChangePreferences + ";";
              myString += "app.findChangeGlyphOptions.properties = " + myFindChangeOptions + ";";
              app.doScript(myString, ScriptLanguage.javascript);
              var myFoundItems = myObject.changeGlyph();
              //Reset the find/change glyph preferences after each search.
              app.changeGlyphPreferences = NothingEnum.nothing;
              app.findGlyphPreferences = NothingEnum.nothing;
    function myFindFile(myFilePath){
              var myScriptFile = myGetScriptPath();
              var myScriptFile = File(myScriptFile);
              var myScriptFolder = myScriptFile.path;
              myFilePath = myScriptFolder + myFilePath;
              if(File(myFilePath).exists == false){
                        //Display a dialog.
                        myFilePath = File.openDialog("Choose the file containing your find/change list");
              return myFilePath;
    function myGetScriptPath(){
              try{
                        myFile = app.activeScript;
              catch(myError){
                        myFile = myError.fileName;
              return myFile;
    This is a very useful and easy to maintain script which even people who cant write scripts (but know how to use regex) can do complex search replace mass replacements.
    Would love to find something like this for FrameMaker 12 (as i can't write scripts myself).
    regards
    daniel

    I have visited that site. The first item in the external link says: "You can also configure Firefox to automatically search for text when you type any characters outside of a text field. When typing in a text field these characters should show up in the text field and not trigger the Quick Find bar. "
    What I am looking for is the exact opposite. Once my first search is entered in the text box, and the info comes back, I want to start typing the next symbol, and have it automatically show up in the text box, not the Quick Find box. That is how it was working up until a couple of months ago.

  • Is there a way to decipher what chords are being used in an audio track?

    I use logic pro x software and I was looking at this piece of audio. It's a synth lead and I wanted to create a bass to go with it however it's hard to work out the chords used so I was wondering if there are any add ons or something that can tell me what chords are used in the audio track. Im looking for something kind of like the BMI counter but for chord recognition. Can anyone help me! if not would anyone be able to decipher them for me? thanks

    Not that i am aware of.. Not for Audio tracks.. Midi tracks yes, Audio no....
    However there are 3rd party apps/websites that might do the job....
    http://www.allmyfaves.com/blog/music/chordify-turns-any-music-or-song-into-chord s/
    http://chordify.net/pages/how-to-use-chordify/
    and maybe even....
    http://play.riffstation.com
    if its a relatively well known song....

  • How to check special characters in java code using Java.util.regex package

    String guid="first_Name;Last_Name";
    Pattern p5 = Pattern.compile("\\p{Punct}");
    Matcher m5 =p5.matcher(guid);
    boolean test=m5.matches();
    I want to find out the weather any speacial characters are there in the String guid using regex.
    but above code is always returning false. pls suggest.

    Pattern.compile ("[^\\w]");The above will match any non [a-zA-Z0-9_] character.
    Or you could do
    Pattern.compile("[^\\s^\\w]");This should match anything that is not a valid charcter and is not whitespace.

  • Reading a String Literally - Finding the "\" Character with a Regex

    How do I search for "\" characters in a string? Such as..
    String text = "Temp\temp.txt";
    The problem is that Java will read "\t" as a tab, so that
    System.out.println(text);
    Will return
    Temp emp.txt
    Also, searching for the regex "\\\\" will return a null result, presumably because Java interprets the "\t" as a tab character, not as a literal "\" followed by a literal "t".
    How do I get Java to read the string without interpreting it?
    Thanks in advance

    Try also this:
    public static void main(String[] args) {
              String test1 = "String with a\\t which is not a tab but a t preceeded with a \\ character";
              String test2 = "String with a \t which is a tab";
              System.out.println("This are the Strings as user sees / enters them:");
              System.out.println(test1);
              System.out.println(test2);
              System.out.println("");
              System.out.println("***********************************************************");
              System.out.println("");
              System.out
                        .println("Splitting first string using a \\\\\\\\ regex which will be interpreted by the regex engine as \\\\ which will represent a \'\\\' character:");
              System.out.println("");
              for (String s : test1.split("\\\\")) {
                   System.out.println(s);
              System.out.println("");
              System.out.println("***********************************************************");
              System.out.println("");
              System.out.println("Splitting the second string just the same way:");
              System.out.println("");
              for (String s : test2.split("\\\\")) {
                   System.out.println(s);
         }and read the console output.
    It should be:
    This are the Strings as user sees / enters them:
    String with a\t which is not a tab but a t preceeded with a \ character
    String with a       which is a tab
    Splitting first string using a \\\\ regex which will be interpreted by the regex engine as \\ which will represent a '\' character:
    String with a
    t which is not a tab but a t preceeded with a
    character
    Splitting the second string just the same way:
    String with a       which is a tab

  • How to replace regex match into a char value (in the middle of a string)

    Hi uncle_alice and other great regex gurus
    One of my friends has a peculiar problem and I cant give him a solution.
    Using String#replaceAll(), i.e. NOT a Matcher loop, how could we convert matched digit string such as "65" into a char of its numeric value. That is, "65" should be converted into letter 'A'.
    Here's the failing code:
    public class GetChar{
      public static void main(String[] args){
        String orig = "this is an LF<#10#> and this is an 'A'<#65#>";
        String regx = "(<#)(\\d+)#>";
        //expected result : "this is an LF\n and this is an 'A'A"
        String result = orig.replaceAll(regx, "\\u00$2");
        // String result = orig.replaceAll(regx, "\\\\u00$2"); //this also doesn't work
        System.out.println(result);

    I don't know that we have lost anything substantial.i think its just that the kind of task this is
    especially useful for is kind of a blind-spot in the
    range of things java is a good-fit for (?)
    for certain tasks (eg process output munging) an
    experienced perl programmer could knock up (in perl)
    using built-in language features a couple of lines
    which in java could takes pages to do. If the cost is
    readability/maintainability/expandability etc.. then
    this might be a problem, but for a number of
    day-to-day tasks it isn't
    i'm trying to learn perl at the moment for this exact
    reason :)Yes. And when a Java source-code processor(a.k.a. compiler) sees the code like:
    line = line.replaceAll(regexp,  new String(new char[] {(char)(Integer.parseInt("$1"))}));or,
    line = line.replaceAll(regexp,  doMyProcessOn("$1")); //doMyProcess returns a Stringa common sense should have told him that "$1" isn't a literal string "$1" in this regular expression context.
    By the way, I abhor Perl code becaus of its incomprehensibleness. They can't be read by an average common sense. Java code can be, sort of ...

  • Java.util.regex error

    Hello,
    I checked JavaDoc multiple times but do not see what is wrong with
    myString.replaceAll("D:\\web\\mars","")which results in
    java.util.regex.PatternSyntaxException: Illegal/unsupported escape squence near index 7
    D:\web\mars
           ^
         at java.util.regex.Pattern.error(Unknown Source)
         at java.util.regex.Pattern.escape(Unknown Source)
         at java.util.regex.Pattern.atom(Unknown Source)
         at java.util.regex.Pattern.sequence(Unknown Source)
         at java.util.regex.Pattern.expr(Unknown Source)
         at java.util.regex.Pattern.compile(Unknown Source)
         at java.util.regex.Pattern.<init>(Unknown Source)
         at java.util.regex.Pattern.compile(Unknown Source)
         at java.lang.String.replaceAll(Unknown Source)
         at ArticleImageImportProcessor.main(ArticleImageImportProcessor.java:40)
    Exception in thread "main" please, every suggestion/hint is most appeciated

    You have to "encode" backslash twice, first for String purpose and second time because of special meaning of '\' in regular expressions.
    It should looks like
    myString.replaceAll("D:\\\\web\\\\mars","")

  • Simple Java regex question

    I have a file with set of Name:Value pairs
    e.g
    Action1:fail
    Action2:pass
    Action3:fred
    Using regex package I Want to get value of Name "Action1"
    I have tried diff things but I cannot figure out how I can do it. I can find Action1: is present or not but dont know how I can get value associated with it.
    I have tried:
    Pattern pattern = Pattern.compile("Action1");
    CharSequence charSequence = CharSequenceFromFile(fileName); // method retuning charsq from a file
    Matcher matcher = pattern.matcher(charSequence);
    if(matcher.find()){
         int start = matcher.end(0);
         System.out.println("matcher.group(0)"+ matcher.group(0));
    how I can get value associated with specific tag?
    thanks
    anmol

    read the data from the text file on a line basis and you can do:
    String line //get this somehow
    String[] keyPair = line.split(":")g
    System.out.println(keyPair[0]); //your name
    System.out.println(keyPair[1]); //your valueor if you've got the text file in one big string:
    String pattern = "(\\a*):(\\a*)$"; //{alpha}:{alpha}newline //?
    //then
    //do some things with match objects
    //look in the API at java.util.regex

  • RegEx: How to find out which part of the pattern failed?

    Hi there,
    I was wondering: is there any way to find out where the pattern matching failed?
    Say I got the string "John Paul Yoko Ringo", and I want to match it against the pattern /John Paul George Ringo/.
    I would like to know something like "pattern failed at index 11", or if I had groups something like "matching group 3 failed".
    Is there any way to do this? Thanks in advance!
    Best regards,
    - Torben

    jschell wrote:
    I would like to know something like "pattern failed at index 11", or if I had groups something like "matching group 3 failed".
    Is there any way to do this? Thanks in advance!
    I wonder if that is reasonable. It means that the parse tree for the regex would need to keep mapping information.
    At a minimum it is going to require an array, not a single result, because a regex can 'fail' in many ways.
    Consider the following regex with the following input
    /(a|b)d/
    abababababx
    Where does it 'fail'?Right. If you just want the character position at which it failed, those tools might tell you that as part of a bigger picture. But by itself, without any context, that number's not necessarily meaingful. A given character can be examined many times due to backtracking. Part of the expression could succeed for part of the input, then the expression might fail for the rest, so we backtrack, and may get several more failures, then more partial successes, all at different points, then ultimately it may fail anywhere within the input.
    So just knowing where isn't enough. You need to know what steps were taken to get there. I do think these tools provide that, though I haven't looked closely.

  • Regex with xml for italicize or node creation

    Okay
    Guess it's a complex situation to explain.
    I am working on the text content of xml documents again. made quite a lot of progress with some of my other regex requirements.
    I am looking for a specific set of words to italicize say for example 'In Vitro'
    String Regex = "In Vitro";
    // here I get the text of a particular xml Node which is a text node
    String paragraph = nl.item(i).getNodeValue();
    //Value of paragraph before replace is "and lipids and In Vitro poorlysoluble(in water"
    String replace = "<Italic>In Vitro<Italic/>";
    String paragRepl = m.replaceFirst(replace);
    //Value of pargRepl after regex replace is "and lipids,?;:!and <Italic>In Vitro<Italic/> poorlysoluble(in water"
    //then I update the content of the node again
    nl.item(i)..setNodeValue(paragRepl);
    // save the xml documentthe italic tag is interpreted by our custom stylesheet to display "In Vitro" in italics, the reason it cannot do that is because the the character entities of the < and > have been put in the text content of the node i.e &lt; and &gt;. On closer examination of the text of the node after the document was saves, it appeared this way " &lt;Italic>In Vitro&lt;Italic/> ". For some reasom the greater than sign came out okay, but still no point, It didn't actually create a new node. I am not sure how you can automatically put tags around specific text you find in xml documents using regex, or If I have to create a new node at that point.
    it's xml so these entities come into picture.
    any help is greatly appreciated, in short I need to just add a set of tags to a particular regex I find in an xml document,
    thanks in advance
    Jeevan

    okay i am getting closer to the solution as there is an api call from another proprietary language that would do this
    but as I loop through the xml document, it keep selecting the text "In Vitro" even after it has been italicized.
    So I guess my next challenge is getting a regex which looks for "In Vitro" but not italicized
    For regex so far I have seen case insensitive handling, I have seen for italics
    basically if I I can get my hands on a regex for example
    String regex = "In Vitro && Not Italic"
    any help is appreciated
    Jeevan

Maybe you are looking for

  • Lion does not have "Save as." How do I change the name of a Keynote presentation?

    How can I change the name of a Keynote presentation in Lion since it does not have "save as'?

  • Mode buttons

    I am not able to have Portal Server display the edit mode or help mode buttons of my JSR-168 portlets. The minimize/maximize/restore/close/popup buttons are displayed though. The portlet works fine in view mode and the edit and help modes are indeed

  • Change log level at runtime

    Is there any way to change a logger's level at runtime? I would like to change between INFO and DEBUG on some features I'm working on without restarting Kura. Thanks

  • How to send files from my Mac to iPhone via Bluetooth?

    I tried to send a file from my MacBook Air to iPhone 5s via Bluetooth. Both Bluetooth were on. However the Mac said that administrator's iPhone not connected. What shall I do?

  • Replace Template with new Template

    Is there a way to replace a template in DVDSP with another different one quickly if they are basically identical. I used the cepia one with frames and changed it abit. Started to use a new version and deleted the old template from custom templates. N