Help Rex Exp

Im trying to find an exp reg which will match everything between 2 string matches... The two strings themselves are not a problem, but just between ... I can't use the indicator/m multiline or can I? I've seen using [\s\S], but this doesn't seem to work for me? I never thought of this... So, this is the beginning of what Im after... and it works fine...

Info = str.match / (%! PS-Adobe-3\.0/);

This is the end game...

Info = str.match (/%%EndComments/);

The only two work and the game is not null...

Is the closest I've been able to manage myself...

Info = str.match / (%! PS-Adobe-3\.0[\s\n\r]+.+/);

But I'll be shot if I can find a way to get the last part to repeat? Is it easy or do I look of string instead methods... Oh btw can you get the offsets of a match exp? Mood swings or what?

Edit... UM has played a bit longer and now I have it but slooowly is until a bad exp and is there a more specific method to do the same thing...

Info = str.match / (%! PS-Adobe-3\.0(.+[\s\n\r]+) {0}, %%EndComments/); Get a little happier now...

Would this be something like this work for you, Mark?

var str="!PS-Adobe-3.0This is the text I want%EndComments";
alert(str.match(/Adobe-3.0[^%]*/).toString().substr(9));

Or even this...

var str="!PS-Adobe-3.0This is the text I want%EndComments!\r\r\r";
str +="PS-Adobe-3.0This is the second lot of text I want%EndComments";
var parts = str.match(/Adobe-3.0(.*?)%EndComments/g);
for(var a=0;a 
         

Tags: Photoshop

Similar Questions

  • help IMP/exp

    Hi friends;
    I have a Linux (64-bit) with installation of oracle instant client. Can use instant customer exp/imp utilities?
    If can how? need a new configuration?

    Concerning
    VK

    You cannot use instant customer exp/imp utilities. You can install the database oracle or oracle database client software in order to use exp/IMP.

  • C:\Users\Rext\AppData\Local\Temp\nsmail.tmp

    Unable to find the temp dir, or if I do they are EMPTY! This was bugs me for some time, please help rex thompson

    If you are running both Windows Defender and Kaspersky at the same time, get rid of one. Two analyzers antivirus running at the same time will eventually cause problems.
    And don't let not your antivirus software analyzes the Thunderbird profile folder. Do not scan incoming and outgoing messages. Don't let it scan attachments to emails.

  • Copy the text in the cell

    Is it possible to copy text information of one POV to another cell using rules

    I am trying to copy data between two scenarios, but the text in the cell is not copying, when I make a copy of the script to the script, to help

    Hs.Exp's #DestPOV = S #SrcPOV.

    It is not possible to copy the text in the cell. Rule cannot read or write the text in the cell. There is a function that determines if the cell contains text in the cell or not, according to me, if not, that is a limitation.

    -Chris

  • My function to create a folder in Windows Exp has changed to a Briefcase. help please

    I lost 6 hours of work trying to fix this and you can't do what I need to do until it is resolved.

    I can create is no longer a record.

    the only option I have is a case for sharing!

    Help, please.

    Hi Lanied,

    If I understand correctly, you cannot create new folders that you have only one option which is to create a portfolio.

    I suggest you follow the steps proposed by Linda Yan dated from on Monday, May 24, 2010 08:38 , the link given below.

    http://social.technet.Microsoft.com/forums/en/w7itprogeneral/thread/97de8a2a-12f2-4381-A409-a78f4ae551cf

    Registry WARNING: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, see this link: http://windows.microsoft.com/en-US/windows7/Back-up-the-registry

    After completing the methods suggested above, answer us with the State of the question.

  • Reg: Regular Exp - help

    Hi Experts,

    I need help to use the regular Expression-

    WITH t AS)

    SELECT ' 1234 Angel Villa, House 420 | Detroit | WE | 700129' double txt

    )

    ----------------

    SELECT

    txt,

    SUBSTR (txt, InStr(txt,'||') + 2, (INSTR(txt,'|',1,3)-INSTR(txt,'||')-2)) val1,

    REGEXP_REPLACE (txt '([^ ||] *||) (.*)', '\2') val2

    T;

    I want to extract the text entry "Detroit" - going between the two. (begins - with that) and a. (ends - with that).

    txt - 1234 Angel Villa, House 420 | Detroit | WE | 700129

    val1 - Detroit

    val2 | Detroit | WE | 700129

    My regex is not appropriate somewhere. Please provide any suspicion in this regard (and not the exact solution - want to try)

    The backreference is very interesting but am very bad at writing regular expressions. Help much appreciated.

    Thank you and best regards,

    -Nordine

    (on Oracle 11.2.0.3.0 - Exadata)

    Published:

    Tried this now.

    REGEXP_REPLACE (txt '([^ ||] *||) ([^|] *) (|. *)', '\2') val2

    Output-

    ||||

    Nordine Hello B

    Yes, because you have more sign like | in this case you must use the non-greedy option for your star: *?

    I would use the REGEXP_SUBSTR.

    You must use the escape character \ and must be given to the * that you don't want to have the sign | Once again...

    It's a little hard to explain. If you want the solution tell me.

    Best regards, David

    P.S.: Because nobody didn't read you just wish that you do not want to have the right solution only just advice... And you already know the solution, so I post my solution too

    WITH t AS)

    SELECT ' 1234 Angel Villa, House 420 | Detroit | WE | 700129' double txt

    )

    ----------------

    SELECT

    txt,

    SUBSTR (txt, InStr(txt,'||') + 2, (INSTR(txt,'|',1,3)-INSTR(txt,'||')-2)) val1,

    REGEXP_REPLACE (txt '([^ ||] *||) (.*)', '\2') val2

    REGEXP_SUBSTR (txt '(\|) {2} ((.| ^(\|)) *?) (\|)', 1, 1, NULL, 2) LIKE REGEXP_RESULT --> Chris227 Correction

    T;

    Where:

    (Results): take this sign | but don't interpret as the OR operator.

    (\|) {2}: take the sign. twice

    .           : Take any character

    . *: Take among these characters, as you can

    .*?         : Take one of these characters, not the longest chain you will find (NON-greedy option:?)

    (.*?)       : Consider backreference in parentheses. REGEXP_SUBSTR last option is 2, because we want only the name of the city without sign.

    Last (-|)   : The name of the city must be accompanied by a sign.

    I hope it helps.

    The SQL above has been fixed-> reason: Chris227 noticed a mistake. Thanks Chris277!

  • exp-00011 error, please help me

    test the code examples, exp-00011 error, strange error
    SQL> SHOW USER;
    USER is "SHIZHO"
    
    SQL> CREATE TABLE SCHOOL(IDX NUMBER(4),CNAME VARCHAR2(20));
    
    Table created.
    
    SQL> INSERT INTO SCHOOL VALUES(1,'AA');
    
    1 row created.
    
    SQL> INSERT INTO SCHOOL VALUES(2,'BB');
    
    1 row created.
    
    SQL> INSERT INTO SCHOOL VALUES(3,'CC');
    
    1 row created.
    
    SQL> COMMIT;
    
    Commit complete.
    
    SQL> SELECT * FROM SCHOOL;
    
           IDX CNAME
    ---------- --------------------
             1 AA
             2 BB
             3 CC
    
    SQL> EXIT;
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    C:\>EXP shizho/shizho tables=school;
    
    Export: Release 11.1.0.7.0 - Production on Fri Oct 9 11:21:49 2009
    
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    
    
    Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    
    About to export specified tables via Conventional Path ...
    EXP-00011: SHIZHO.SCHOOL; does not exist
    Export terminated successfully with warnings.
    
    C:\>sqlplus shizho/shizho
    
    SQL*Plus: Release 11.1.0.7.0 - Production on Fri Oct 9 11:22:15 2009
    
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> desc school;
     Name                                      Null?    Type
     ----------------------------------------- -------- ----------------------------
     IDX                                                NUMBER(4)
     CNAME                                              VARCHAR2(20)
    
    SQL> select table_name from user_tables where table_name='SCHOOL';
    
    TABLE_NAME
    ------------------------------
    SCHOOL
    
    SQL>

    Hello

    C:\>EXP shizho/shizho tables=school;
    

    Remove the ';' after the exp command. Otherwise it translate in

    EXP-00011: SHIZHO.SCHOOL; does not exist
    

    Have you noticed ';' before does not exist.

    Concerning
    Anurag Tibrewal

  • fract/exp to problem number string.

    Hi ppl,

    I have a very simple question. I want to convert string 5.3696075E - 4 for the number. in my program, it gives me only 5.

    Please, help me.

    Your operating system is probably to use a comma instead of a period as the decimal separator.

    The Fract/Exp string to number function has an entry at the top Optional Boolean. The default value is True, revealing LabVIEW use parameter system OS for the separator.

    'Use decimal system (T)' set to false, and that should allow you to convert the string correctly...

  • This morning a guy called me and said he was from California United States Windows, our computer was strange before he help us.

    Original title: is it a scam?

    This morning a guy called me and said he was from California United States Windows, our computer was strange before he help us. We the have not called before, he's a hacker? One name was John Rex

    This morning a guy called me and said he was from California United States Windows, our computer was strange before he help us. We the have not called before, he's a hacker? One name was John Rex

    He said he was with "Windows"?

    You should not get cold-calls from computer technical support.  If you do and you do not install a sort of monitoring service you pay a fee for - it's a scam.

  • Curve adjustment not linear need help

    I need help, try to fit a set of data that require the use of a non-linear curve.  I have attached a txt file that contains the data that must be mounted.  The first line contains the values of the x axis, while the second line contains the values of the y-axis.  The model of this set of data can be described by a single parameter, has, for the first five data points.  The rest of the data points can be described by the model of A + A1 * exp ((0.4-x)/A2), where A, A1 and A2 are all the parameter.  As you can see both models share the A setting.

    I determined the initial values for each of the parameters: A = 176,32, 2133.4133 = A1 and A2 = 1.4936.

    The last, I spent two days trying to understand how to use the non-linear curve of Lev - Mar good vi but have had little success.  I did programming LabVIEW for many years and I've never felt as lost, as I now try to understand how the curve nonlinear Lev - Mar is vi works.  Any help you can provide my editing data would be greatly appreciated.

    Thank you.

    -Alonzo

    I think the problem is that the first 5 points are not part of the data sent to Lev - Mar.  For this reason the process adjustment very well suited to the remaining data, but the term constant is able to move freely.  I modified the model function to output A to the first 5 terms and full for the rest.  The found offset is now more reasonable.

    In addition, your quote your model to A + A1 * exp ((0.4-x)/A2), but which is implemented in the VI model seems to be A + A1 * exp ((x-0.4)/A2).

    -Jim

  • How can I get my help and support in my menu start to start so I can use it? one of the tech told me that I had to reinstall the exe file, but it didn't help me find to reinstall the file.

    My help and support does not come to the top in my xp home computer. If I need to reinstall the program exe file, I can find to operate here? It is not on my computer.

    Hi Rex-36

    You can consult the services to see if the service is running. Click 'Start', click 'run' and in the Run dialog box, type "services.msc". On the page that has ensued, scroll down to "Help and support" and right click. Select 'Properties'. .  Look to see if the service is running and if this is not the case, click on the button to start the service. In the box "Startup type", make sure that it is in the type of start "Manual" or "automatic" . Click 'OK' and exit.

    I hope this helps.

  • How can I use process explore check PID 1176 60% CPU svchost.exe? Help, please.

    As the title, how can I use process Explorer to check PID 1176 60% CPU svchost.exe? Help, please.

    The task manager has PID 1176-60% CPU, all the time, which I believe is the reason my pc works so slow.

    How to use Exp Pro to know what is actually using 60% of my cpu, via svchost 1176 PID?

    I found the Exp Pro Geek guide - but are struggling to pass for a non geek.

    Using Vista 32 bit.

    Thanks in advance for any answers.

    Process explore uses more resources than svchost, it works automatically using a lot of memory. Anyway, the open task

    Mgr, locate the svchost, R.click on the location of TI/properties/open a file. You will find that it is a service of microsoft.

    The drain is usually in BITS, try to go to run, or cmd, type: services.msc in msc, locate BITS, R.click on it, open,

    Set to manual start, exit msc, restart the pc.

  • I can't open google chrome... tried to make chkdsk and it opens, thanks for the help

    I tried to open it in the start menu: chkdsk and it does not open.

    I try to open google chrome it remains reloading and finally to said webpage unavailable
    I tried to open google.com since Firefox and it doesn't, neather of internet explore.
    I changed nothing yesterday and this morning and it does not work.
    Please help us, especially to find the way to chkdsk.
    Liliana

    Thank you Syed

    The missing Google problem, reason unknown and reappeared again and again last week fixed itself?
    I tried to open Firefox or internet exp. and impossible.
    Nothing have let me in Google or open google chrome.
    Suddenly fixed itself?
    Most of the microsoft answers I've had in other errors for updates or questions asked me to do chk dsk:
    That is why I tried to open on chk dsk, stright from the beginning, and tries to open the screen but closed within a second.
    I wanted to do chk dsk as part of cleaning a little or some error checking to help with the issue.
    Thanks anyway, now that I've managed, google opens.
    Concerning
    Liliana
  • I forgot my wireless security exp

    I forgot my exp security key for my wireless router

    Hello

    Check with the router manufacturer support, their books online and ask in their forums (if any).
    Most have excellent online help. Reset the router and write down the password and paste
    on the bottom of the router or in another safe place.

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • I get the following error messages at startup: Windows Sidebar Settings.ini. is used by another system. Recorder warning: recorder! Initialize is not yet call... The log file can corruption exp. application failure did not start.

    Original title: opening of the pop ups

    I have Vista Home version.  When I connect, I get the pop - ups following:

    1.) _Windows sidebar Settings.ini. is used by another system.

    Recorder 2.) WARNING: Logger! Initialize is not yet call... The log file can corruption exp.

    3.) down the application did not start.

    Also: while I'm on the internet a pop - up occurs from time to time indicating: "Internet Explorer has stopped working".  Sometimes I get started, and sometimes I can just 'X' out and I'm always on.

    Hello

    1 how long have you been faced with this problem?
    2 did you recent hardware or software changes to your computer before this problem?

    I suggest you try the procedure below.

    Step 1: Try to perform the clean boot in order to solve startup error messages.

    From your computer by using a minimal set of drivers and startup programs so that you can determine if a background program is interfering with your game or program. This type of boot is known as a "clean boot".

    Follow the steps provide in the article below to perform the clean boot. http://support.Microsoft.com/kb/929135

    Step 2: I suggest you try the steps outlined in the article below to solve the problem of internet Explorer.
    http://support.Microsoft.com/kb/936213

    Thanks and greetings
    Umesh P - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    [If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message.] [Marking a post as answer, or relatively useful, you help others find the answer more quickly.]

Maybe you are looking for

  • If I change my Firefox browser rather that Internet Explorer, I've always will have access to my files that were saved using IE? Please an answer non-techie.

    I received notice that my browser (IE) is obsolete and will be soon be unsupported. All of my files have been saved in Internet Explorer, and I'm afraid I won't be able to access it if I change to another browser, but I'll soon lose access to them in

  • Unable to connect to any wifi network

    My iPad does not see any wireless network or it recognize my sim card. Keeps showing no SIM and with wireless on, sees no network. This currently limits its use

  • Lost all colors

    HP G60 120US laptop p/n - FS184UA #ABA VISTA HOME PREMIUM 32 BIT SP2 Every color has disappeared from my display - completely.   How can I get that back? TIA

  • Taskbar - unable to move

    I have problems with my taskbar. Inadvertently, I moved it and the direction of the office. When I try to click on an empty spot on the taskbar and drag it to the bottom, it does not move. I can get the bar to go to all four sides, but if it's on the

  • HP Pavilion dv7 no sound

    Hello recently I hv plugged a mini speaker for my dv7 and afterthat no sound, even I delete the mini speaker of my laptop. What can I do with it? Here are some details on my laptop: model: hp Pavilion dv7 window version: vista 32-bit hope that this p