Regex question: How do I insert commas between meta data?

Current search engine is being replaced with Google Search Appliance (GSA). It requires meta data to be separated by a comma + space, whereas the previous search engine required only a space.  For example:
<meta name="C_NAME" content="Screen1 Screen2">
must become
<meta name="C_NAME" content="Screen1, Screen2">
There are 17 unique screen names and each of 2500 html files may have one or more screen names identified in that meta tag field.
I am hoping for some regular express magic to help me with that global search/replace effort.  Suggestions are greatly appreciated.
Thanks,
Rick
================================
Nevermind... figured it out.  Just needed to study regex syntax a bit. Here's the answer:
Find:  <meta name="C_NAME" content="(\w+)\s(\w+)\s
Replace:  <meta name="C_NAME" content="$1, $2,

The only transition you can add this way is default cross dissolve. If the images are in the timeline, move the playhead to the beginning of the images, select them all, and drag from the timeline to the canvas to overwrite with transition.

Similar Messages

  • How can i get report between two dates?

    Hi
    how can i get report between two dates?
    for example i want get reports between 20/4/2002 & 27/4/2002.
    my table has date column and i can get first date( exam : .... where date:=a and/or ....i don't know this part)
    thanks alot.
    Regards
    The Oracle Reports Team
    http://otn.oracle.com/

    where exam_date between :from_date and :to_date
    from_date and to_date are user_parameter

  • How to save info in a meta-data of a jpg file?

    hi, i need to know how to save info in a meta-data of a jpg file:
    this is my code (doesn't work):
    i get an exception,
    javax.imageio.metadata.IIOInvalidTreeException: JPEGvariety and markerSequence nodes must be present
    at com.sun.imageio.plugins.jpeg.JPEGMetadata.mergeNativeTree(JPEGMetadata.java:1088)
    at com.sun.imageio.plugins.jpeg.JPEGMetadata.mergeTree(JPEGMetadata.java:1061)
    at playaround.IIOMetaDataWriter.run(IIOMetaDataWriter.java:59)
    at playaround.Main.main(Main.java:14)
    package playaround;
    import java.io.*;
    import java.util.Iterator;
    import java.util.Locale;
    import javax.imageio.*;
    import javax.imageio.metadata.IIOMetadata;
    import javax.imageio.metadata.IIOMetadataNode;
    import javax.imageio.plugins.jpeg.JPEGImageWriteParam;
    import javax.imageio.stream.*;
    import org.w3c.dom.*;
    public class IIOMetaDataWriter {
    public static void run(String[] args) throws IOException{
    try {
    File f = new File("C:/images.jpg");
    ImageInputStream ios = ImageIO.createImageInputStream(f);
    Iterator readers = ImageIO.getImageReaders(ios);
    ImageReader reader = (ImageReader) readers.next();
    reader.setInput(ImageIO.createImageInputStream(f));
    ImageWriter writer = ImageIO.getImageWriter(reader);
    writer.setOutput(ImageIO.createImageOutputStream(f));
    JPEGImageWriteParam param = new JPEGImageWriteParam(Locale.getDefault());
    IIOMetadata metaData = writer.getDefaultStreamMetadata(param);
    String MetadataFormatName = metaData.getNativeMetadataFormatName();
    IIOMetadataNode root = (IIOMetadataNode)metaData.getAsTree(MetadataFormatName);
    IIOMetadataNode markerSequence = getChildNode(root, "markerSequence");
    if (markerSequence == null) {
    markerSequence = new IIOMetadataNode("JPEGvariety");
    root.appendChild(markerSequence);
    IIOMetadataNode jv = getChildNode(root, "JPEGvariety");
    if (jv == null) {
    jv = new IIOMetadataNode("JPEGvariety");
    root.appendChild(jv);
    IIOMetadataNode child = getChildNode(jv, "myNode");
    if (child == null) {
    child = new IIOMetadataNode("myNode");
    jv.appendChild(child);
    child.setAttribute("myAttName", "myAttValue");
    metaData.mergeTree(MetadataFormatName, root);
    catch (Throwable t){
    t.printStackTrace();
    protected static IIOMetadataNode getChildNode(Node n, String name) {
    NodeList nodes = n.getChildNodes();
    for (int i = 0; i < nodes.getLength(); i++) {
    Node child = nodes.item(i);
    if (name.equals(child.getNodeName())) {
    return (IIOMetadataNode)child;
    return null;
    static void displayMetadata(Node node, int level) {
    indent(level); // emit open tag
    System.out.print("<" + node.getNodeName());
    NamedNodeMap map = node.getAttributes();
    if (map != null) { // print attribute values
    int length = map.getLength();
    for (int i = 0; i < length; i++) {
    Node attr = map.item(i);
    System.out.print(" " + attr.getNodeName() +
    "=\"" + attr.getNodeValue() + "\"");
    Node child = node.getFirstChild();
    if (child != null) {
    System.out.println(">"); // close current tag
    while (child != null) { // emit child tags recursively
    displayMetadata(child, level + 1);
    child = child.getNextSibling();
    indent(level); // emit close tag
    System.out.println("</" + node.getNodeName() + ">");
    } else {
    System.out.println("/>");
    static void indent(int level) {
    for (int i = 0; i < level; i++) {
    System.out.print(" ");
    }

    Hi,
    Yes, you need store data to table, and fetch it when page is opened.
    Simple way is create table with few columns and e.g. with CLOB column and then create form based on that table.
    Then modify item types as you like, e.g. use HTML editor for CLOB column
    Regards,
    Jari

  • How can I insert transitions between clips?

    I finished editing my seperate clips and now want to insert transitions between the clips, but that menu option is grayed out, so is the Movie Properties menu. What do I do?

    Clips are in a Project timeline?
    just drag the transition btw. them ...

  • How to get the difference between two date

    Hello,
    I want to know how to write a code the tell me the difference between two date, I am using
    oracle.jbo.domain.Date
    i have a rent date and return date so my code is
    Date rent=(Date)nr.getAttrbute("RentDate"),ret=(Date)nr.getAttrbute("ReturnDate");
    is there a way to know the difference in days between those two dates ?
    Thanks

    hi,
    try this.....
    DateFormat formatter = new SimpleDateFormat("E MMM dd HH:mm:ss Z yyyy");
    Date date = (Date)formatter.parse(dateStr); //// dateStr <- from date value (that is string value)
    Date dateto = (Date)formatter.parse(datetostr); //// datetostr <- to date value (to date getting from as a string)
    Calendar cal = Calendar.getInstance();
    cal.setTime(date);
    Calendar calto = Calendar.getInstance();
    calto.setTime(dateto);
    fromDate = cal.get(Calendar.DATE) + "/" + (cal.get(Calendar.MONTH) + 1) + "/" + cal.get(Calendar.YEAR);
    toDate = calto.get(Calendar.DATE) + "/" + (calto.get(Calendar.MONTH) + 1) + "/" + calto.get(Calendar.YEAR);
    // System.out.println("from Date : " + fromDate);
    if ((fromDate != null && toDate != null) && (date.compareTo(dateto) > -1) ) {                  
    fc.addMessage("VacationQueryComponent", new FacesMessage(FacesMessage.SEVERITY_ERROR, "From Date cannot be lower than To Date", "From Date cannot be lower than To Date"));
    fc.renderResponse();
    thks.

  • How to get time diff between to date

    Hi all,
    How can I get the time diff. between two date in a single query
    as in the example below-
    select
    to_char(sysdate,'dd-mm-yyyy hh:mi:ss') d1,
    to_char(sysdate-45,'dd-mm-yyyy hh:mi:ss') d2,
    months_between(sysdate,(sysdate-45)) mon_diff
    /* how can I get the time diff in terms of hour ,min, seconds*/
    from dual

    314214, The difference between any two Oracle dates is measured in Days and fractions thereof.
    A day = 24 hrs, = 1440 minutes, = 86400 seconds
    Use the mod function on the difference
    HTH -- Mark D Powell --

  • How to build a difference between to dates

    Hi @All,
    Hope you can help me :) ..
    I'd like to build the "difference" between two dates (e.g. date of the invoice and date of the payment receipt). As the result I expect an Integer.
    I tried several functions and operations, but still get the error code: [nQSError: 22023] An arithmetic operation is being carried out on a non-numeric type.
    I also tried to cast the date format into an Integer or double, but I still get an error ...
    Here is my code:
    CASE WHEN "2_Forderungsstruktur_Fälligkeiten".DIM_DATUM_FAELLIGKEIT.DDAT_DATUM_DE < 0
    THEN NULL
    ELSE
    "2_Forderungsstruktur_Fälligkeiten".DIM_DATUM.DDAT_DATUM_DE - "2_Forderungsstruktur_Fälligkeiten".DIM_DATUM_FAELLIGKEIT.DDAT_DATUM_DE
    END
    Hope you guys have some good ideas to solve these problem :)
    best regards
    Matt

    hi,
    TIMESTAMPDIFF(SQL_TSI_MONTH,"Dim - Time"."Date",CURRENT_DATE)
    "Dim - Time"."Date"--->Column1
    Current_date--->Column2
    thanks,
    saichand

  • URGENT..Date Query..How to Query Records created between 2 dates..

    Hi,
    I want to Query records which are created between 2 dates.
    I can use trunc(creation_date) this will give all the records for that day.
    I have to run a program every 15-20 minutes.
    following is an example
    example
    sysdate = 1/19/03 1:03:42 PM
    record1 creation date = 1/17/03 11:54:10 AM
    record2 creation date = 1/17/03 11:53:49 AM
    record3 creation date = 1/17/03 11:53:08 AM
    last resuest_date = 1/17/03 10:00:08 AM
    now i have to query records created between
    sysdate and last_request_date
    please reply ASAP
    Thanks
    Arun

    SELECT TO_CHAR(creation_date, 'DD-MON-YYYY') creation_date
    FROM navneet
    WHERE TO_CHAR(TO_DATE(creation_date, 'DD-MON-YYYY'), 'DD-MON-YYYY') BETWEEN
    TO_CHAR(TO_DATE('17-JAN-2003', 'DD-MON-YYYY'), 'DD-MON-YYYY') AND
    TO_CHAR(TO_DATE('20-JAN-2003','DD-MON-YYYY'),'DD-MON-YYYY');

  • How to Publish SAML 2.0 Meta Data using WLST

    Hi All,
    I would want to know who to publish SAML2.0 metadata using WLST commands? Is there a way to export xml as is done from Weblogic Console >MyServer > Configuration > Federation Services > SAML 2.0 General > Publish Meta Data?
    Regards, Nitish

    Wikipedia has a good article on SAML and how it works: Security Assertion Markup Language - Wikipedia, the free encyclopedia
    For it to work in BO, you would need an identity provider and a service provider, and the ability to pass in one of the parameters mentioned in the Admin Guide  (such as REMOTE_USER). The identity provider and service provider would be specified by your organization (we use Shibboleth for example). You may also need to install Apache if your SP does not talk directly to Tomcat (and in which case you can skip the web.xml configuration on p221), though there is other configuration needed for that scenario.
    I don't know the answer to your Windows AD question, but it appears there is an AD/SAML service available: Active Directory Federation Services

  • Label and Button in VBox, how to dynamically insert something between them?

    I'm probably missing something simple here, but scratching my head. If I have a VBox with a label and a button in it, is there no way to insert a new child between the other two children ? Something like a way to get at "nth child"? or "insertAtIndex" ? Most likely I am just thinking about this wrong-headedly. Thanks.

    ah, so .add() takes an int which determines the position among the children in which it will be inserted? I knew I was completely missing something critically simple. Thank you.

  • Newbie Question: How to create a gap between header and wrapper?

    Hi everyone,
    My wife and I are trying to figure this one out. We have tried double clicking on the wrapper in the "All Rules" menu, adding a top margin to the wrapper in the "Box" submenu, as well as changing the positioning of the wrapper in the "Positioning" menu, but this made both the wrapper and header move down. How to I make the wrapper move down while leaving the header in place, so as to create a gap in between the two? Thansk so much!

    As snake states, a link to the page would be best. Usually margin top is what you would set. So if your wrapper is below your header, you would set the margin top in the css for the wrapper to be what you want the gap to be.
    Usually a wrapper or container is what is holding the whole site, but this doesn't sound the case here. So something like this in your css.
    .wrapper     {
        margin-top: 25px;
    You would probably add the margin-top:25px to the existing css for that page.
    If you can provide a link to the page, the very helpful people would be able to solve this for you rather easily.
    Jim

  • How can I insert space between a bullet character and text?

    I imported my FrameMaker file and template into RoboHelp 7.
    After the conversion to RoboHelp, the bullet characters are too
    close to the paragraph text that follows. I was able to change the
    span's spacing in the Font dialog box's Spacing tab to expand the
    space. How can I apply this to all bullets in the topic?

    I am so dense... I re-read this thread.
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=65&catid=680&threadid =1348980&enterthread=y
    AJ Owens suggested that we remove "Pre" from the User Defined
    HTML Tag field box in the Style Settings dialog box. When I
    initially accessed this box, I experimented with checking and
    unchecking the Convert Autonumber to HTML list box, but it never
    occurred to me to clear the User Defined HTML Tag field of "Pre".
    Now that I have cleared it, I am able to make changes in the Style
    Sheet Editor. (I can expand spacing so that I now see more space
    between the bulleted and numbered characters and the text that
    follows.)

  • Question: How does the "KEY-COMMIT" trigger work?

    Hello All,
    What is the “KEY-COMMIT” Trigger for the BLK_UPDATE data block for? When is the Trigger being activated? Where can I find the information regarding the "KEY-COMMIT" Trigger (FYI, I have looked at the ORACLE Form online document and the help in the Forms 6i Builder, but so far I found nothing)?
    Any information regarding to the "KEY-COMMIT" Trigger would be greatly appreciated!
    Thanks in advance,
    Jinlan
    --

    From my other post, I got the following information from Andreas Weiden and just want to share with you all here:
    "If you want the code inside your KEY-COMMIT-trigger executed, you will have to do a DO_KEY('COMMIT_FORM'); instead"
    This information really clarifies the def and use of the "KEY-COMMIT" trigger. Great thanks to Andreas for sharing.

  • How to calculate the difference between two dates?

    Hello,
    I would like to write some code which figures out how many days are between the Date_of_change (which is of datatype DATE, length 7 and of format DD-MON-YY) and the current date today. Then if the difference between Date_of_change and the current date is greater that 30 days for example then I would like to delete that record from the database.
    Thanks
    Doug

    Something like this should work:
    SQL> select * from emp order by hiredate ;
         EMPNO ENAME      JOB              MGR HIREDATE           SAL       COMM     DEPTNO
          7934 MILLER     CLERK           7782 21-OCT-2005       1300                    10
          7902 FORD       ANALYST         7566 22-OCT-2005       3000                    20
          7900 JAMES      CLERK           7698 23-OCT-2005        950                    30
          7876 ADAMS      CLERK           7788 24-OCT-2005       1100                    20
          7844 TURNER     SALESMAN        7698 25-OCT-2005       1500          0         30
          7839 KING       PRESIDENT            26-OCT-2005       5000                    10
          7788 SCOTT      ANALYST         7566 27-OCT-2005       3000                    20
          7782 CLARK      MANAGER         7839 28-OCT-2005       2450                    10
          7698 BLAKE      MANAGER         7839 29-OCT-2005       2850                    30
          7654 MARTIN     SALESMAN        7698 30-OCT-2005       1250       1400         30
          7566 JONES      MANAGER         7839 31-OCT-2005       2975                    20
          7521 WARD       SALESMAN        7698 01-NOV-2005       1250        500         30
          7499 ALLEN      SALESMAN        7698 02-NOV-2005       1600        300         30
          7369 SMITH      CLERK           7902 03-NOV-2005        800                    20
    14 rows selected.
    SQL> delete from emp where hiredate < sysdate - 30 ;
    10 rows deleted.
    SQL> select * from emp order by hiredate ;
         EMPNO ENAME      JOB              MGR HIREDATE           SAL       COMM     DEPTNO
          7566 JONES      MANAGER         7839 31-OCT-2005       2975                    20
          7521 WARD       SALESMAN        7698 01-NOV-2005       1250        500         30
          7499 ALLEN      SALESMAN        7698 02-NOV-2005       1600        300         30
          7369 SMITH      CLERK           7902 03-NOV-2005        800                    20
    4 rows selected.
    SQL>

  • How to find the difference between two date?

    Hi,
    I currently writing a date comparision program. Below is the idea analogy,
    Currently i need to find how many day differences between 30 July 2003 and 22 June 2004. How can i use java to code it?
    Thanks.

    there doesn't seem to be a direct way but try this:int daysBetween = 0;
    Calendar c = new GregorianCalendar(2004, Calendar.JULY, 30);
    Calendar d = new GregorianCalendar(2003, Calendar.JUNE, 22);
    while (c.get(Calendar.YEAR) != d.get(Calendar.YEAR)) {
        daysBetween += 360;
        d.add(Calendar.DAY_OF_YEAR, 360);
    daysBetween += c.get(Calendar.DAY_OF_YEAR) - d.get(Calendar.DAY_OF_YEAR);This gives the correct result of 404 (= 8 days from June 22 to June 30 + 366 days between July 1 of 2003 and 2004 + 30 days from July 1 to July 30)

Maybe you are looking for

  • Synchronize TOC greyed out?

    I have a RobohelpHTML project, everything is great except when you click on pages in the TOC the TOC does not stay highlighted or automatically expand a book to give the user context as to where they are. As far as I can tell from reading around, I n

  • Java or adobe for existing ABAP dynpro SRM 7.0

    Hi All, I am a SRM/MM functional consultent with limited UI interface knowledge. Currently I am working in SRM 7.0 project. As you know SRM 7.0 UI build on Web dynpro ABAP Floor plan manager and web dynpro ABAP UI has many limitation. My client don't

  • Lenovo ideapad Y500 MotherBoard problem

    Hi there i bought my Y500 a year ago, last month the mother board sudennky "died" i sent my laptop to the official lenovo at israel. it is unfotunate that your representive here say that it requires unlimited time to supply and fix my laptop and it i

  • BT disconnection and ensuring the correct address.

    I've sold my home in Bolton and I've scheduled to have my phone line cut off on the 29th August, which is the completion date for my house buyers to move in (at 2pm). What is the actual time that the line will be disconnected, i.e. is it terminated a

  • I Photo came with my Mac

    I Photo came with my Mac. SL 9, I think. I'm not that good with computers. Please use terms on my level. Just don't understand your computer language. Thanks