Regarding expression help

Hi all,
Can anybody help me to write a regular expression to get AB, Delta, MIA ....etc from the below text.
<tr valign=middle bordercolor=#ffffff>
     <td width='40' CLASS='tdbgpricespagecolorgrey'><font face='Arial, Helvetica, sans-serif' size='2'>AB</font></td>
     <td width="23" Class=tdbgpricespagecolorgrey><font face='Arial, Helvetica, sans-serif' size='2'>Delta</font></td>
     <td width="34" Class=tdbgpricespagecolorgrey><font face='Arial, Helvetica, sans-serif' size='2'>MIA</font></td>                         <td width="31" Class=tdbgpricespagecolorgrey><font face='Arial, Helvetica, sans-serif' size='2'>LGW</font></td>                         <td width="23" Class=tdbgpricespagecolorgrey><font face='Arial, Helvetica, sans-serif' size='2'>Delta</font></td>
     <td width="34" Class=tdbgpricespagecolorgrey><font face='Arial, Helvetica, sans-serif' size='2'>LGW</font></td>
     <td width="24" Class=tdbgpricespagecolorgrey><font face='Arial, Helvetica, sans-serif' size='2'>MIA</font></td>
     <td width="36" Class=tdbgpricespagecolorgrey></font> <font face='Arial, Helvetica, sans-serif' size='2'>(USD)</font><BR></td>
<td width="37" Class=tdbgpricespagecolorgrey align="center">
     <div align="center"><font face="Arial, Helvetica, sans-serif" size="2">no</font></div></td>
     <td width="100" Class=tdbgpricespagecolorgrey><font face='Arial, Helvetica, sans-serif' '1'><ahref="javascript:Open_Details_BlanketCommFares('RoundTrip','2879994','2669', '2879994','2669','11','MIA','LGW','LGW','MIA','1','0');" >Details </a></td>
Thanks

Clarify your question please ...
Are you saying you want to extract the specified text
"AB", "Delta", "MIA" from a text file (looks like html
or jsp in this case)?
That's a two part problem. First you have to read the
text file, a simple task for the java.io.* package.
Follow the API link to the left for the relevant
documentation.
Once you have the file opened, you have to parse it
looking for your specific text.
exactly it is an html file initally i am reading it through io package but i am unable to write the regular expression to retrive the data like(AB,Delta....).Once i get the data then i will insert it into database can u give an expression match to fetch this dat.

Similar Messages

  • Will an Airport Express help with the signal I am not receiving on my Smart TV?

    Will the Express help with internet issue's I have with my new Smart TV?

    If you already have another Apple AirPort router that is providing your wireless signal, then a new AirPort Express could extend that wireless signal to provide a stronger wireless signal to the TV....assuming that the TV connects using wireless.
    Is this what you are asking?
    Or, would the Express provide other services to "help"?

  • My ipad 2 and ipod touch keeps on dropping wifi connection,  would getting an apple router or maybe airport express help?

    ipad 2 and ipod touch  keeps on dropping wifi, would upgrading to an apple router/airport express help?  all my other pc's work well with my current network.

    Have you checked for a firmware update for your current router?
    What make, model, version router do you have?

  • SSRS colour series expression help

    Hi, I have created a graph in SSRS which measures the number of appointments booked against a target.
    The expression for the appointments series is:
    =Switch(Fields!DateCol.Value <= Today(),RunningValue(Count(Switch(Fields!SubCategory.Value = "Booked Appointment - System",Fields!NoteId.Value)), SUM, Nothing))
    And the target is simply:
    =RunningValue(Avg(Fields!Target.Value), Sum, Nothing)
    I have coloured the target line in black but I was wondering if it is possible for my appointment series line to be green if above target and red if below target?
    I've never tried this before so any help would be much appreciated!
    Thanks.

    Hi SRidgley,
    Could you please try to provide more details information according to the questions below to help us better understand about your requirements:
    What is the chart type you are currenttly using?
    If possible, please try to provide the snapshot of the chart in the view mode
    Could you please also provide some details information about which field you put in the "Values","Category Group" and "Series Group" and if possible, please provide sample data for me to test.
    I assumed that you have the similar requirements as in the thread below, please take reference:
    https://social.technet.microsoft.com/Forums/en-US/4310fd02-ef84-4874-b11e-993ff2943f6f/how-to-display-the-actual-reading-alone-the-dot-and-conditional-change-the-color-of-the-dotfigure?forum=sqlreportingservices
    If you still have any problem, pelase feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Regarding express document message

    Hai friends,i am uploading material master using BDC for MM01.while i am processing through foreground it is processing weell and finally showing me success messaage that 'Material is created'.But,immediatly i am receving a express dcoument message stating that 'UPDATE WAS TERMINATED'.Even though of message success message of material creation update was being terminated.Can anyone please help regarding this what would be the problem.Thanks in advance.
    Regards.

    Take a look at [Update Management|http://help.sap.com/saphelp_nw04/helpdata/en/e5/de870535cd11d3acb00000e83539c3/frameset.htm] in [Updates in the SAP System (BC-CST-UP)|http://help.sap.com/saphelp_nw04/helpdata/en/e5/de870535cd11d3acb00000e83539c3/frameset.htm] - focalize on [Analyzing and Correcting Update Errors|http://help.sap.com/saphelp_nw04/helpdata/en/e5/de874735cd11d3acb00000e83539c3/frameset.htm]
    Useful transactions
    - SM13 "Display Update Records", SM14 "Update Program Administration"
    - ST22 "ABAP dump analysis"
    - SM21 "System log"
    Basically, the transaction checked the data, found no error and submitted update task function modules which should have updated the database, recorded change documents, updated statistics and the like. Then it sended a success message and end the transaction. Later, one of those FM has failed, so the system cancelled the proposed changes in the database and sent back an express message to warn user who called the transaction.
    Regards,
    Raymond

  • Outlook express help file tells me to down load "mk:@MSITStore:C:\WINDOWS\help\mscoe.c..." it says that type is Firefox Document; is this a safe item of soft ware to down load. There is a similar statement from internet explorer help file.

    My outlook express will not allow me to print the email message it only prints the email headings. When I tried the help file of oe it tells me to download file named 'cool_mail. htm', type 'Firefox Document, 17.8KB', from 'mk:@MSITStore:C:\WINDOWS\help\msoe.c...'. A similar sort of message appears if I click on the help file of Windows Internet Exlorer. Are these genuine useful files or scams to be avoided?

    Hi Mac Attack,
    My computer will not disconnect from the internet.  It seems to find a clone router and continues even when I shut down and unplug my my own home iy
    Your main question was 'chopped' in the title. Please reply in the body of a reply box with the full question and anything you have tried. And no, the long report was not helpful .
    If the same website is opening each time you launch a browser (Safari?) hold down the shift key as you launch to prevent previous pages from opening.
    Have a look at your settings in Safari > Preferences. Especially General and Privacy.
    Reset Safari to remove cookies and other stored data.
    System Preferences > General
    Have a look at your settings in System Preferences >  Security & Privacy.
    Call back with more questions.
    Regards,
    Ian

  • Regarding Search help on selection-screen field

    Hi there,
    I am working on custom tables.
    I have a requirement to maintain search pattern on a selection-screen field.
    selection-screen parameter: p_name which is company name filed from Z table.
    By giving a string like Holl* and by  pressing F4 on the field p_name it has to popup a dialogbox having list of company names starting with Holl.
    Thanks in advance.
    -Tulasi

    Hi
    Go through the link given below :
    How to create a search help for my own fields in selection screen
    F4 search help on report selection screen
    also try :
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    DDIC_STRUCTURE = ' '
    RETFIELD = 'VKORG'
    PVALKEY = ' '
    DYNPPROG = SY-REPID
    DYNPNR = SY-DYNNR
    DYNPROFIELD = 'P_VKORG'
    STEPL = 0
    WINDOW_TITLE =
    VALUE = ' '
    VALUE_ORG = 'C'
    TABLES
    VALUE_TAB = T_TABLE1
    FIELD_TAB = field_tab
    RETURN_TAB = RET_TAB
    DYNPFLD_MAPPING = DYN_TAB
    EXCEPTIONS
    PARAMETER_ERROR = 1
    NO_VALUES_FOUND = 2
    OTHERS = 3
    With Regards
    Nikunj shah

  • Regular Expression Help

    I need help writting a regular expression that will match the following strings:
    1+1,1+(1+1),((1+1)+(1+1)),1+(1+(1+1)). Basically one that will match an arithmetic expression (operands limited to 1's and operators to '+' sign) with or without correctly matched parentheses. Have'nt had much luck so far. Any input will help. thanks

    okay, you asked for it:
    [1+()]+
    it will only match those string but it will tell you nothing about syntactically correct expressions. This is because these types of expression are not "regular" and cannot be properly parsed using regular expressions.

  • EXPRESSION help,layer markers

    Hi
    I've got a comp with one camera and 100 3d layers distributed randomly in 3 space.Each layer has got a different z-Rotation value.
    The camera animates from one layer to the other via script (the script generates
    automatically layer markers and keyframes for each animation).So,there are 101 layer markers.
    Example:
    The camera moves between layer marker 2+3 from layer 2 to 3 for example.
    Layer 2 has got a z-rotation value of -14° and layer 3=>45°.
    basically,i need a camera (z orientation) expression so the camera animates
    from -14° to 45° between these two layer markers and so on.
    THX

    Yeah, what part of the equation do you not understand? The first part simply checks whether markers exist at all, then counts them down until there are none left after a given time. If you want to blend between the different values, you'd simply need to plug the marker times into the remapping. Something like this:
    markNow=marker.nearestKey(time).index;
    markNext=marker.nearestKey(time).index+1;
    timeNow=marker(markNow).time;
    timeNext=marker(markNext).time;
    rotationNow=thisLayer.transform.zRotation.valueAtTime(timeNow);
    rotationNext=thisComp.layer(index+1).transform.zRotation.valueAtTime(timeNow);
    rotationFinal=linear(time,timeNow.timeNext,rotationNow,rotationNext)
    You only need to include this in the curly braces or return n outside the function to make use of this. Haven't tested it, as I'm not in front of AE, but on an abstract level this is how it should work. Hope it helps to get yoou started.
    Mylenium

  • Expression help with time remapping

    Hi
    I have a 25fps Precomp with an animation that changes on every frame.
    In the master comp I want to apply an expression to its time remap property so that it holds on each consecutive frame for a given duration, eg on Frame 1-15 we see frame 1 of precomp, on frame 16-30 we see frame 2, and so on.  I can't figure this out. Tried posterizeTime and some other bits to no avail and can't find it elsewhere on the web.
    Thanks, Steve

    <Big sigh of relief> Thank-you Dan.
    I read your expressions everywhere on the web and when I need a little help you are there within MINUTES!
    You are such an asset to the AE community.

  • Expression help needed - control speed of a pan via a slider

    I've done this in the past but can't locate my old project, and my head is throbbing from last nite.....
    I'd like to apply an expression to my null's position. I want it to pan horizontally at a speed specified with a slider control. I'd like it to be able to start, stop, and then continue. Doesn't need to ease in, but it'd be nice.
    Speed = effect("Speed")("Slider");
    OffsetX = effect("Offset")("Point")[0];
    fps = 24;
    x = OffsetX - (Speed * time * fps);
    [x,243]
    My problem multiplying "speed" with time means that when it stops (speed=0), it returns to the start position.... I need it to stay in place, and then continue when I animate the speed value back up.
    Please help my hungover brain....

    Here's a quick and dirty method:
    >v = effect("Velocity")("Point");
    vSum = 0;
    for(t = 0; t <= time; t+=thisComp.frameDuration) vSum += v.valueAtTime(t);
    value+vSum*thisComp.frameDuration
    Unfortunately, it is pretty slow to calculate, and just gets slower the further you go down the timeline. Also, it doesn't actually produce continuous motion, so it doesn't play well with motion blur.
    I'm working on a much more efficient expression that does work with motion blur, but I can't seem to get it to behave once you get past the last keyframe. If I have a breakthrough, I'll post it.

  • Expression Help.  'Every 3 frames move right 1 pixel'?

    Hello,
    Im trying to solve an issue i am having with aliasing on sliding text.
    I would like to drop an expression on my text layer (bitpmap).
    ie, i want to slide the text 30 pixels over 90 frames.
    If i do that using simple keyframes, the text blurs a bit when not on an whole number frame( 30.3)
    Is there an expression i can use so that the text is moved one whole pixel, but not until 3 frames has passed?
    Thanks very much for any help!
    QMP

    X=Math.floor(timeToFrames(time)/3);
    Y=position[1];
    [X,Y]
    Mylenium

  • Expression help. Opacity using a null slider

    Hi,
    I'm using the expression below on a few layers in order to achieve a 'rolodex' look. The expression was applied to the x axis of the layers.
    numCards=thisComp.layer("Null 1").effect("numCards")("Slider");
    viewCard=thisComp.layer("Null 1").effect("viewCard")("Slider");
    v=((index-1) * (360/numCards) + viewCard*(360/numCards))%360;
    if (v<10) {
    ease(v,0,10,-20,120);
    } else {
    linear(v,10,360,120,340);
    I would like to make it so that I can control the opacity of the given layer so that lets say when the 'card' (layer) in question is at a certain point in its cylce the opacity will go from 0 to 100 and then fade back down to zero.
    This expression was taken from somewhere else, and I'm learning them (but slowly).
    Thanks a lot for your help!
    Luke

    Just copy&paste the expression, then substitute the values in the ease() and linear() functions to fall within sensible ranges for opacity. The code is pretty unsafe and unelegant, though. if I were to do it, I'd create completely different one...
    Mylenium

  • Column Visibility Expression help - SSRS

    I have a report in SSRS that has 12 columns. On each column, I have a corresponding column visibility expression like so:
     =IIF(InStr(JOIN(Parameters!HideColumns.Value,
    ","),"01")=0, False, True)
    Where I have the "01" I change to "02","03","04","05","06","07","08","09","10","11"
    & "12" respectfully across my column. The intent is to pass a parameter and allow the end user to "Hide" the column from visibility to allow them the flexibility on printing records. The issue I am having is I need a default that allows
    them to not hide anything, meaning print all 12 columns. Right now, its forcing me to pick one column to hide, is there something I could add to this to say, All? Hope this makes sense.

    Hi,
    For default value of this parameter(Parameters!HideColumns.Value)
    add  a value that is not in 01 to 12 .
    As an example if you  add 13 to the  default value   of the parameter, than  your expression will not hide the column 
       =IIF(InStr("13",
    ","),"01")=0, False, True) 
       =IIF(InStr("13",
    ","),"02")=0, False, True)  and so on.
    Many Thanks
    Chandra
    Please mark the post has answered if this post helps to solve your issue

  • Printing problem with Extreme, but not with Express - HELP!!!

    Hi.
    I have a Hewlett-Packard hp LaserJet 3020.
    It works fine with my Airport Express but
    when I connect it to my Airport Extreme it
    wont work. The printer is on the list and
    the "printing" light on the printer is
    flashing when it is printing. But no paper
    is printed...
    HELP ME OUT!
    Cheers, Ed

    Yes, I did install the Bonjours for Windows software and I still get the message thet the PC does not communicate with the printer.

Maybe you are looking for