Search exponent or subscript in a document

Hi !
Do you know how to find all exponent and subscript characters in a document ?
I need to circle those caracteres by html tags (<e> or <inf>) in order to extract contents of documents in html.
Maybe using Find > Text or Grep ?
Thanks.
Cyril

GREP find -> Find Format (you might need to click the "More options" button) -> Basic Character Formats -> Position -> Superscript.
Put
.+
in the Find What field -- this will find any text in superscript. Put this in the Replace With field:
<e>$0</e>
-- where <e> and </e> are your own codes, and "$0" simply means 'that which was just found". Repeat for Subscript. It will write these codes in superscript, resp. subscript, as well but that should not be a problem if you are extracting plain text only.
By the way, <e> is not the code for "exponent".

Similar Messages

  • How to Search for text in a word document and replace it

    Hey All ,
    I am able to open up a word document present locally using OLE2 Automation. Now i need to search for a text in that document
    and replace it with another text. How do i achieve this?
    And another issue is when i search for the particular pattern i need to store the pattern that comes after the pattern as i need it for further use before i replace it.
    Thanks And Warm Regards,
    Nischal

    Hey Chen,
    Well before i do the search and edit , I am actually opening a .mts file in word which is happening successfully.
    The issue that i am facing now is I am unable to save it as .doc file through the 'SaveAs' method.
    Here is my code. Can u please tell me what i need to do in order to correct this.
    After i do this conversion i intend to pass the data from the .doc file to an internal table and then do the required change.
    But First i need to save it to .doc type.
    REPORT  MAIN_PROGRAM_2.
    INCLUDE OLE2INCL.
    *Declaration Of OLE2_Object Variables.
    DATA: WORD            TYPE OLE2_OBJECT,
          DOCUMENTS       TYPE OLE2_OBJECT,
          ACT_DOCUMENTS   TYPE OLE2_OBJECT.
    *Declaration of variables
    PARAMETERS PATH       TYPE string.
    DATA:Relative_Path    TYPE string,
         Relative_Path_Save    TYPE string.
    *Declaration of an internal table
    CONCATENATE PATH '\Script.mts' INTO RELATIVE_PATH.
    *Object Creation in order for us to open word
    CREATE OBJECT WORD 'WORD.APPLICATION'.
    PERFORM ERROR_HANDLE.
    *Set visibility property of MS word.
    SET property of WORD 'VISIBLE' = 1.
    *Open A document
    CALL METHOD OF WORD 'Documents' = DOCUMENTS.
    PERFORM ERROR_HANDLE.
    *CALL METHOD OF DOCUMENTS 'ADD' = ACT_DOCUMENTS.
    CALL METHOD OF DOCUMENTS 'OPEN' EXPORTING #1 = RELATIVE_PATH.
    PERFORM ERROR_HANDLE.
    *GET PROPERTY OF WORD 'ActiveDocument' = ACT_DOCUMENTS.
    *PERFORM ERROR_HANDLE.
    **To save the script.mts to script .doc file in order to put it into an internal table
    CONCATENATE PATH '\Script.doc' INTO RELATIVE_PATH_SAVE.
    CALL METHOD OF WORD 'SaveAs' EXPORTING #1 = RELATIVE_PATH_SAVE.
    PERFORM ERROR_HANDLE.
    FREE OBJECT WORD.
    The Save part of the code is giving me an OLE error = 2
    Thanks And Kind Regards,
    Nischal
    Edited by: Nischal HP on Apr 28, 2011 1:53 PM

  • Search for a String within a document (Word, txt, doc) using JSP, JAVA

    Hi
    I have created a little application that uses combination of JSP and HTML. Users of this application can upload documents which are then stored on the server. I need to develop functionality where I can allows users to search for a string within a document. More precisely, user would type in some string in a text box and application will search all uploaded documents for that string and return the downloadable links to those documents that contains that string. I have never done this before. I was wondering if someone could get me started on this or point me to some thread where this idea is already discussed. Any Jave code exists for searching through documents??
    Thanks for your help
    Riz

    http://www.ibm.com/developerworks/java/library/j-text-searching.html
    http://en.wikipedia.org/wiki/Full_text_search
    Type these parameter in yahoo:+efficient text search
    you will need something like openoffice library to read microsoft word document.

  • Search by partner function for purchasing documents?

    Hello,
    Please could someone advise the steps required to allow me to search via partner function for purchasing documents? The functionality is present in IH08 for PM.

    Hi dear,
    During defining the partner Schema, please follow the process:
    a.Create partner Schema
    b.After creation of partner Schema, select your partner Schema and click u201Cpartner roles in schemau201D and you will have next screen
    Now for Partner function like VN,OA,PI and GS as you required and select the check box of mandatory
    and save.
    Now try creating Vendor and you will have Partner function like VN,OA,PI and GS in vendor master.
    Note: The following configuration steps for Vendor master are:
    1. Create Vendor Account Group.OBD3
    2. Maintain Number Ranges from Vendor account Group:XKN1,
    3.Assignment of Number ranges to Account Group,OBAS
    4.Partner Function: SPRO->MM->Purcahsing->Partner Determination-> partner roles->Permissible partner role sper account group
    5.Partner Schema:
    SPRO->MM->Purcahsing->Partner Determination->Partner setting in Vendor master record-> Define partner Schema
    6.Assgin partner schema to accont Group
    SPRO->MM->Purcahsing->Partner Determination->Partner setting in Vendor master record-> Assgin partner schema to account Group.

  • Unable to search for words in a pdf document

    I am using Adobe Reader Ver 10.1.1 (All updates)
    I have a pdf document in which I am unable to search for words. No words in the document are found even though they do exist. If I copy a word from within the document and paste it into the search criteria then instead of getting the word that I copied, I get substitute characters and it can in fact find these characters as the word being searched.
    The document is a catalog and can be downloaded from the following URL.
    http://www.carbatec.com.au/getcatalogue?zenid=d1cuvbat0ois0g37r0r33vnah1
    I will appreciate any help as to why I cannot search for words in the document.

    Thank you Dave Merchant and try67 for your responses. As per my previous post, I contacted the company re the catalogue and they have responded favourably. I'll include their response because it gives the reason for the search failure as document compression which you might find interesting. I'll await their new catalogue and see if they have fixed the problem.
    Company response:
    Thank you very much for your input.  And yes, you are correct, the compression we used for the current catalogue's PDF format does strip out text included in the catalogue.  We used the compression settings we did with the intention of minimising download time, however I take your point about including text for search purposes (which I also utilise when I'm scanning through PDFs).
    We will actually be posting out our new catalogue next week and we'll release the new PDF version on the website at the same time.  I've asked our graphic designer to ensure that the PDF we use for the new catalogue includes searchable text.

  • Using Oracle Text to search through WORD, EXCEL and PDF documents

    Hello again,
    What I would like to know is if I have a WORD or PDF document stored in a table. Is it possible to use Oracle Text to search through the actual WORD or PDF document?
    Thanks
    Doug

    Yes you can do context sensitive searches on both PDF and Word docs. With the PDF you need to make sure they are text and not images. Some scanners will create PDFs that are nothing more than images of document.
    Below is code sample that I made some time back to demonstrate the searching capabilities of Oracle Text. Note that the example makes use of the inso_filter that is no longer shipped with Oracle begging with Patch set 10.1.0.4. See metalink note 298017.1 for the changes. See the following link for more information on developing with Oracle Text.
    http://download-west.oracle.com/docs/cd/B14117_01/text.101/b10729/toc.htm
    begin example.
    -- The following needs to be executed
    -- as sys.
    DROP DIRECTORY docs_dir;
    CREATE OR REPLACE DIRECTORY docs_dir
    AS 'C:\sql\oracle_text\documents';
    GRANT READ ON DIRECTORY docs_dir TO text;
    -- End sys ran SQL
    DROP TABLE db_docs CASCADE CONSTRAINTS PURGE;
    CREATE TABLE db_docs (
    id NUMBER,
    format VARCHAR2(10),
    location VARCHAR2(50),
    document BLOB,
    CONSTRAINT i_db_docs_p PRIMARY KEY(id)
    -- Several notes need to be made about this anonymous block.
    -- First the 'DOCS_DIR' parameter is a directory object name.
    -- This directory object name must be in upper case.
    DECLARE
    f_lob BFILE;
    b_lob BLOB;
    document_name VARCHAR2(50);
    BEGIN
    document_name := 'externaltables.doc';
    INSERT INTO db_docs
    VALUES (1, 'binary', 'C:\sql\oracle_text\documents\externaltables.doc', empty_blob())
    RETURN document INTO b_lob;
    f_lob := BFILENAME('DOCS_DIR', document_name);
    DBMS_LOB.FILEOPEN(f_lob, DBMS_LOB.FILE_READONLY);
    DBMS_LOB.LOADFROMFILE(b_lob, f_lob, DBMS_LOB.GETLENGTH(f_lob));
    DBMS_LOB.FILECLOSE(f_lob);
    COMMIT;
    END;
    -- build the index
    -- Note that this index differs than the file system stored file
    -- in that paramter datastore is ctxsys.defautl_datastore and not
    -- ctxsys.file_datastore. FILE_DATASTORE is for documents that
    -- exist on the file system. DEFAULT_DATASTORE is for documents
    -- that are stored in the column.
    create index db_docs_ctx on db_docs(document)
    indextype is ctxsys.context
    parameters (
    'datastore ctxsys.default_datastore
    filter ctxsys.inso_filter
    format column format');
    --search for something that is known to not be in the document.
    SELECT SCORE(1), id, location
    FROM db_docs
    WHERE CONTAINS(document, 'Jenkinson', 1) > 0;
    --search for something that is known to be in the document.  
    SELECT SCORE(1), id, location
    FROM db_docs
    WHERE CONTAINS(document, 'Albright', 1) > 0;

  • Search text in a entire webi document.

    Hi,
                                                                                    When we try search a particular value on a report it only searches the value on the current page. Say we want to search for a value that is on page 2 and we go to find option and type the value it says record not found because it is on the other page.  
    Thanks,
    Bernard.

    Having said all this, I've just found a PDF where neither Preview nor Acrobat will find text that's in the document. This particular document was downloaded from the Web, so I have no idea how it was generated - just that there are PDF's that neither Acrobat nor Preview will search ...
    srb

  • Searching with in a SharePoint 2013 Document Library

    Hi,
    i want to search document library by passing values from Search box to Search Results webpart. I m not able to search with in the document library although i have configured content source and result sources. 
    With Regards,
    Jaskaran Singh

    You can try using a web form html webpart in a web part page instead.
    Use Designer to add additional search columns and you should be able to create something usable.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • How to search special character in searchable PDF Document???

    Hi All,
    Could some one help me out, how to search special character in PDF document? I have attached the screen shot for your reference.
    -Rgds,
    Gnanasekaran

    OK, I found it myself:
    1. Tools - Pages - Edit Page Design - Header & Footer - Add Header & Footer.
    2. Select the font and size, etc, place the cursor on the appropriate site to insert the page number, click the "Insert Page Number" button, and click OK.
    That is!

  • Cannot do a full text search on pdf or Microsoft office Documents.

    I am using Oracle Content Server 10gR3
    Apart from the standard components and other components, I have InBound refinery Support and Oracle text Search Components enabled.
    I get the following error when I check in a pdf or a Microsoft office document.
    Text Conversion of the file '<repo_home>/.pdf' failed.*
    Content has been indexed with Info only. Resubmit should only be performed if the problem has been resolved.
    I am able to perform a full text search on *.txt and *.htm files.

    Here are some more errors from Console output log
    requestaudit     10.28 12:20:00.011     Audit Request Monitor     Request Audit Report over the last 120 Seconds****
    requestaudit     10.28 12:20:00.011     Audit Request Monitor     -Num Requests 349 Errors 345 Reqs/sec. 2.911 Avg. Latency (secs)0.309 Max Thread Count 2
    requestaudit     10.28 12:20:00.011     Audit Request Monitor     1     Service DOC_INFO     Total Elapsed Time (secs) 106.944     Num requests 345     Num errors 345     Avg. Latency (secs) 0.31
    requestaudit     10.28 12:20:00.011     Audit Request Monitor     2     Service COLLECTION_GET_REFERENCE     Total Elapsed Time (secs) 0.701     Num requests 2     Num errors 0     Avg. Latency (secs) 0.35
    requestaudit     10.28 12:20:00.011     Audit Request Monitor     3     Service COLLECTION_DISPLAY     Total Elapsed Time (secs) 0.211     Num requests 1     Num errors 0     Avg. Latency (secs) 0.211
    requestaudit     10.28 12:20:00.011     Audit Request Monitor     4     Service COLLECTION_GET_INFO     Total Elapsed Time (secs) 0.02     Num requests 1     Num errors 0     Avg. Latency (secs) 0.02
    requestaudit     10.28 12:20:00.011     Audit Request Monitor     ****End Audit Report*****

  • SharePoint search results not showing padlock to document icon

    Hi,
    We have an application in which we have activated In place record management. this feature gives us possibility to make documents as records.
    As now when we search that document, we can able to search that document but in search results we will not have padlock attached to document icon.
    can we configure such in search results?
    Thanks,
    Heerak

    I have seen a similar post from you. You can take a look at the following thread:
    http://social.technet.microsoft.com/Forums/en-US/5119f31a-0a4c-42dd-b62f-d746a8b820ab/search-results-for-records-in-sharepoint?forum=sharepointgeneral
    I would suggest you to open only single thread for single issue. You can discuss your problem in above thread only.
    Thank you for your understanding and support.
    Thanks,
    Jason
    Jason Guo
    TechNet Community Support

  • HOW TEXT CAN BE MADE SUBSCRIPTED IN XML DOCUMENT?

    SIR,
    I WANT TO DISPLAY MATHEMATICAL FORMULAS,WHICH INCLUDE MATHAMATICAL NOTATIONS LIKE "SIGMA" "DELTA" AND SO ON, AND ALSO SYMBOLS WITH SUBSCRIPTED TEXTS OR LETTERS,IN XML DOCUMENT.
    MY PROBLEM IS HOW CAN WE RENDER SUBSCRIPTED TEXTS IN XML DOCUMENT.
    FOR Eg.CONSIDER THE FORMULA SHOWN BELOW,IN HTML FORMAT.
    ÓAli * Bli / Cli
    PLEASE,TELL HOW THIS CAN BE REPRESENTED IN XML DOCUMENT.
    AND ALSO TELL ME HOW CAN A HORIZONTAL RULE BE DRAWN IN XML DOCUMENT
    THANK YOU.

    Ouch. Would you please not type in all capitals. It's hard to read.
    Anyway the question doesn't make sense. XML is just a format for storing and transmitting data. XML doesn't have the concepts of subscripting and drawing horizontal rules. Perhaps you were thinking of HTML?

  • Search results displays title from the document and not from its metadata

    Hi All,
    I have an issue with SharePoint 2010 Search results. While searching for any content in SharePoint, it displays the title value from the keyword in the document and not from the metedata.
    Scenario:- I have a document library and a document named "Bill Details C1234.doc" in it. The title for this item in document library is "Bill Details". However on searching with keyword "Bill" it displays the
    first word in the word document which is "I".It should display the title set in the document i.e. "Bill Details".
    Please suggest

    I think you're looking to do the reverse of this:
    https://social.technet.microsoft.com/Forums/office/en-US/c2ec4fc2-e04c-453c-8035-4f334f062d05/have-search-results-display-the-filename-of-a-word-doc-instead-of-the-title-metadata?forum=sharepointsearchlegacy
    check this out as well, again I think you want to reverse part of this where it references filename
    http://chris.gg/2011/06/display-filename-instead-of-document-title-in-sharepoint-search/
    So, where it references Filename, you would put title, but leave where it references title alone.  Or maybe I misunderstood and you are looking for exactly this, to make search display the filename and not the title, in which case I trust that you'll
    find this to be your answer.
    Stacy Simpkins | MCSE SharePoint | www.sharepointpapa.com

  • No Search Available In Password Protected Preview Document

    You simply cannot search the pdf at all in SL if it is encrypted with a password.
    I have a pdf with important data. To access it, I entered a password, and I can search it in Leopard.
    The same document, after the password is entered, cannot be search in SL.
    Save the same document as a non passworded protected pdf and it can be search.
    Is there a new command I have missed?

    I see the same thing. it would appear to be a bug to me. I suggest you file a bug report.

  • Trex search not working for not english documents

    Hello, I've got a problem enabling full text search for russian documents
    For enabling full text search for documents stored in kPro theese steps
    were performed:
    - creating rfc connection with TREX instance
    - enabling Index Release and Classify in transaction skpr06 for document
    area SRM
    - marking LANGUAGE attribute in table SDOKCLPROP for custom PHIO class
    Z780003P01 as obligatory
    - creating index category and indexing stored documents in transaction
    skpr07 for class Z780003P01
    The indexing was performed successfully. Under the created index category
    for class Z780003P01 it can be seen two indexed document classes
    (transaction spkr07, button indexed documents) one with language marked E
    (english) and one marked R (russian).
    When trying to perform test search (transaction skpr07) and indicating
    language as RU only documents in english can be searched. When trying
    a search request in russian search engine allways shows 0 results (for
    every request more than 2 characters). Small requests in russian (1-2
    characters) show some results but they are hardly to be right.
    Have you got some experience enabling full-text search for documents in language other than english?

    sorry for long delay, we tried to work with sap support on this problem but still no profit,
    >>First go to the document class for which you need to set Russian language , change the language if you have already created a document class for the perticular document type
    We tried to add a LANGUAGE attribute as a free  attribute in transaction DMWB for our LOIO and PHIO document  classes with attribute value 'RU', but still the same issue.
    >> Indexing as well as document class also need to change the laguage.
    The problem is that the indexing report says that most of documents were marked as indexed in russian successfully, so the problem is somwhere else I think.

Maybe you are looking for

  • How can I restore an app and its data from an old ipad to a new ipad without restoring from backup?

    When I purachsed and iPad 2 to replace my old iPad I did not want to restore it from backup for obvious reasons.  However, there are apps that have data stored in them that I have lost the data for, what can I do to get the app and data back on the n

  • [Qualif.] Difference between object type 'Q' and infotype 0024

    Hi, For the xRPM 4.0 solution, we need to maintain skills for resources. There is a HCM integration functionality to import skills from a HR system to Business Partners (which - basically - represent users that can be staffed on a project in the xRPM

  • Read MS Word properties

    Hi every body, i need to read the properties of any MS-WORD document. Author, number of pages, number of words, etc. I really don't have any idea on where to begin. Can somebody help me? Giving me a hint. Waiting your response. Thanks

  • Applying config in an oo way

    Hi, What would be the best way to 'set' default values in an object. for example in my map class I have this function:   private int calcExtraVision(Tile t) {     int additionalVision;     int height = t.getTerrain().getHeightLevel().getHeight();    

  • Is anyone else getting this error message when deploying hellows SOAP app?

    I am trying to deploy the hellows SOAP service manually and get this error when running the HelloClient: D:\j2sdk1.4.0\bin\javaw.exe -client -classpath D:\development\projects\sandbox\SOAPTest\bin;D:\development\projects\sandbox\SOAPTest\client\hello