Grep to add tab character after first character?

Hello
Are any GREP wizards able to help with a question?
I am trying to add a tab character after the very first character in a line in a paragraph style. So for example I would like a tab after the I, D, O and N in the following poem ...
Incy Wincy spider climbed up the spout
Down came the rain and washed the spider out
Out came the sun and dried up all the rain
Now Incy Wincy spider went up the spout again
Thanks!

No worries, GREP is greedy by default as well
Use the same 'find' but change to
\t$0\t
-- where each "\t" is a Tab and "$0" is 'the text just found', i.e., what gets highlighted when you press "Find next".

Similar Messages

  • Add horizontal line after each record

    I have 10 records seperated by ID. I m using List in SSRS to show data on report. I need to add horizontal line after first record, then after second record till 10 th record. How do we add this line?
    Any help much appreciated.

    Hi SQL Insane,
    Per my understanding that you have add the tablix into the list and group on the "ID", now you want to add an horizontal line between each record which grouped by the ID like below, right?
    If so, please reference to the details information below:
    Select the entire rows and Right click to select the Insert row-Inside Group below to add an inside row group
    Select the new added inside row group and set properties as below to make sure there is only display the black solid line on the bottom just like to add an horizontal line:
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    If you have any feedback on our support, please click
    here.
    Vicky Liu
    TechNet Community Support

  • GREP for changing a character

    Hi people,
    I have many lists like
    a) local,
    b) de ZEC y
    c) de Región Biogeográfica
    d) Escala local, o de estación
    how can I change the a and the bracket of this list to Italic with GREP. Can i select just a paragraph like Paragraph Style to apply GREP? I have some fear that if i change all (in a many pages document) it can do some damages.
    Maybe there is an easy way to do it...
    Any idea?
    Thanks and cheers,
    Sebastian

    Tons of ways. How about a paragraph style with a nested character style, up to the parenthesis or the tab/space after that? That's better than local formatting with italics, which will shows the dreaded '+' sign.
    But you were asking about the GREP expression ... How's this? Search:
    >^[a-d]\)\s
    -- replace with formatting only, italics (or a paragraph style with aforementioned nested char style!).
    The GREP meaning, left to right
    * '^' = start of paragraph
    * '[a-d]' everything from 'a' to 'd', if the lists go further than 'd' just put it there. I advise against blindly writing '[a-z]' --
    i just in case.
    * '\)' is the closing parenthesis. It has to be escaped with a backslash because parentheses are special characters in GREP search.
    * '\s' is any space character -- space, tab, soft return, thin space, etc. If you know for sure you always have a space next, use just that instead! Just enter a space. If you know for sure you always have a tab next, use '\t'. As before, better be safe than sorry.
    Hit 'Find next' and 'Change then find next' a couple of times, enough to reassure it isn't finding anything it shouldn't, only then hit 'Change all'.

  • How do I insert the tab character in a table cell in Pages 5.2?

    I'm typing text in a table cell.  I need to insert a tab in the text.  I've tried all of the modifier keys with the tab.  I read somewhere it would be CTRL>TAB, like Word, but that navigates to the Inspector.

    You will need to add a Unicode keyboard. System Preferences > Keyboard > Input Sources. Click the + button in the lower left. Scroll all the way to the end and select Others > Unicode Hex Input. Select and Add this. Check the box that says Show input menu in menu bar. Exit System Preferences.
    From the Finder menu, select your recent Unicode Hex Input source (it is a black box with white U+ in it). Now, position your cursor in your table cell between the characters where you want to insert a tab character. Press and hold your option key, then type 0009 (zeroes). This is the Unicode sequence for the tab control character. Space will open in your text. Tabs in table cells survive PDF export. The tab mark will not appear with Show invisibles enabled.
    Switch back to your normal country input source in that Finder input source menu.

  • Tab character missing in the end of the line in file2file scenario?

    Hi,gurus:
    Our scenario is file to file,and both transport protocols are FTP.
    We are using content conversion both in sender and recevier side.
    But when we test the scenario,we found the tab character('0x09') is missing if the tab character is in the end of a line.
    Can you tell me how to keep these tab characters the same as sender file?
    Thanks in advacne.
    ps: in the content conversion,the parameter fieldSeparator and endSeparator are both '0x0A'.
    Edited by: xinjiang li on Jul 31, 2009 10:53 AM

    Hi,
    The source data is as below:
    H     0000140898     0     UCP31300     20090715     20090715     2     1     UCP31310     
    D     0000140898               00001                    
    After the record '00001',thare are some tab parameter,but after send content conversion,the payload is below:
      <?xml version="1.0" encoding="utf-8" ?>
    - <ns:MT_3PL_SAP2PF_ST02_SENDER xmlns:ns="http://www.unicharm-china.com/3PL">
    - <Recordset>
    - <Line>
      <Line>H 0000140898 0 UCP31300 20090715 20090715 2 1 UCP31310</Line>
      </Line>
    - <Line>
      <Line>D 0000140898 00001</Line>
      </Line>
      </Recordset>
      </ns:MT_3PL_SAP2PF_ST02_SENDER>
    The tab parameters are missing.
    Our sender content conversion is below:
    Line.endSeparator:'0x0a';
    Line.fieldSeparator:'0x0a';
    Line.fieldNames:Line
    Any ideas?

  • Weird square like Tab Character in Multiline Text

    ebs version 11.5
    forms 6i
    I have a multiline text item that allows the user to keep hitting an “add to text box” button to append to the text in the box. Every time they click the “add to text box” button, the new text should be placed on a new line. To accomplish this, I just do textitem:=textitem||CHR(13)||CHR(10);
    This causes a tab character (little square) to be displayed on each line. What can I do to get rid of this? Is there a setting on the text item I can set or is there a different way to accomplish this?

    The square is how the new line character (chr(13) or chr(10)) is shown. I don't think there is much you can do.
    One thing to try is see if the following works
    textitem := textitem || '
    ';Sandeep Gandhi

  • How to type "tab" character in terminal?

    Hi,
    In the terminal, I would like to be able to simply type a literal "tab" character. I know, by default, the tab key is used for auto-completion based on file system (I would like to keep it that way).
    I tried several things, nothing seems to work for me:
    - Copy-paste an existing tab character within the terminal
    - Add keyboard shortcut in the Terminal preferences > Settings > Keyboard (/011)
    - Insert 'LINE TABULATION' character from the Terminal > Edit > Special Characters... window
    Hopefully, someone has done this before?

    You can type any character that has a special meaning in the terminal by preceding it with ^V. So to type a tab character, just type ^V followed by the tab.

  • Replace tab character from string in ABAP

    hi experts,
    I have a string like this "a<tab character>b<tab character>c<tab character>d". for my processing i want the output like "abcd". How can i replace all occurances of this tab character from my string.
    tab character = a hexa decimal character. I dont know the hex value for this.
    regards
    Raghav

    hi you joined SCN in 2007 its a way long time to say.. ur new.. any ways.
    after declaring the lv_tab as I said...
    REPLACE ALL OCCURRENCES OF lv_tab in <string> with space.

  • 'Tab' character used in the Message Built-in

    Hi. I know you can concatenate a chr(10) function into the Message built-in, but is there a similar way to concatenate a 'tab' into the Message built-in or an Alert? Basically I want to pop-up a message and use the 'tab' character to seperate 2 columns of text. Like this:
    "This a message to the user:
    VarName1 <tab> VarValue1
    VarName2 <tab> VarValue2
    VarName3 <tab> VarValue3
    VarName4 <tab> VarValue4"
    Any help would be greatly appreciated.

    Hello,
    Can we see any example how in different ways/value you want to display in message?
    For keep the orignal formatting/spacing in the forum page you can use tags before and after the example/coding section.
    All small letters in curly brackets. See the FAQ on right corner of page for more clarification.
    -Ammad                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • TAB character

    Hello Gurus.
    I am working with Oracle Reports 6i and I simply try to print a TAB char at the beginning of my paragraphs. Adding the chr(9) when needed does not work, it is replaced by a space. And space don't work for me as my text is justified.
    Is there really no way to have a tab character (indentation) with report?
    For example, how can I do this:
    (TAB here) Dear Mister Scott,
    (TAB here) I would like to indent the first line of my paragraph with Oracle Reports 6i. As the TAB character (chr(9)) does not work with Reports, how could I simply do this? My text is justified and each paragraph is linked to a field.
    Thanks in advance!
    Guille

    I tried it in Report Builder 6.0.8.23.0.
    DataModel
    1. Query
    select '*'||CHR(9)||'Dear Mister Scott,'||'*' My_Tab from dual;
    2. Formula Column --> CF_TAB01
    function CF_Tab01 return VARCHAR is
    begin
    RETURN('*'||CHR(9)||CHR(9)||CHR(9)||'Dear Mister Martin,'||CHR(9)||'*');
    end;
    3. Formula Column --> CF_TAB02
    function CF_Tab02 return Char is
    v_tab CONSTANT VARCHAR2(10):= CHR(9);
    v_string VARCHAR2(80):= '*'||v_tab||v_tab||'Dear Mrs. Willson,'||'*';
    begin
    srw.message(1.00,'v_string: '||v_string);
    RETURN(v_string);
    end;
    It works fine!
    But I could be a problem with the current_character_set.
    The following example assumes that the national character set is UTF16:
    SQL> select '*'||CHR(9 USING NCHAR_CS)||'Dear Mister Robinson,'||'*' my_tab from dual;
    MY_TAB
    * Dear Mister Robinson,*

  • Tab character to the left of an auto-number

    I have InDesign CS4 documents with numbered lists in various places in the documents. I've been numbering them manually because I can't find a way to insert a tab character in front of an autonumber. The Bullets and Numbering settings dialog won't let me insert a tab at the beginning of an auto-number -- gives an error message. The reason for the tab in front of the number is so that the numbers will align right when there are 10 or more items in the list.

    Jay,
    You don't need to insert tabs, you set everything in the "Bullet and Number Position" section of the bullets -and-numbering tab. These values work for 10 points Minion:
    Alignment: Right
    Left indent: 6 pt
    First line indent 6 pt
    Tab position: 18 pt
    Peter

  • Tab character in variable declaration

    Hello,
    I have a little problem with declaration of variables in scripts. I get an error when there is a TAB character between the variable name and its data type:
    VARIABLE var_name     number;
    Bind Variable "var_name     number" is NOT DECLARED
    This error occur only when I try it in SQL Developer - other tools accept it. Any suggestions how to get rid of this error?

    Couldn't find any prior bug for this, so I logged it:
    Bug 12409565 - TAB CHARACTER NOT RECOGNIZED AS WHITESPACE IN SQL*PLUS BIND VARIABLE DECLARATION
    It seems limited to SQL*Plus syntax, perhaps just the VARIABLE command, and does not replicate in PL/SQL blocks.
    Adding a blank after the tab works around the error, but won't be enough if the tab remains as part of the variable name.
    -Gary Graham, SQL Developer Team

  • Find tab Character

    Hi All,
    I need to find the tab character in the particular paragraph style "TX".
    1. Find the first tab character
    2. give shift return before the first tab character
    Please refer the screenshot:

    Hi Csm_Phil,
    Thank you for your quick response...
    I got the output in different way..
    app.findGrepPreferences = app.changeGrepPreferences = null;
    app.findGrepPreferences.appliedParagraphStyle = "TX";
    var myFnd = app.activeDocument.findGrep(true);
    for(i=0; i<myFnd.length; i++)
        var myFound = myFnd[i].select();
        if(app.selection[0].lines.length > 1)
            alert("selection line greater than 1")
            app.findGrepPreferences = app.changeGrepPreferences = null;
            app.findGrepPreferences.findWhat = "(^.+?)(\\t)";
            app.changeGrepPreferences.changeTo = "$1\\n$2";
            app.selection[0].changeGrep();
    csm: I want to give correct answers for you. But I not able find that option in this post.
    Anyone please help me to give correct answer for this request.

  • Add one character at  a time from External Text file

    Hi,
    I'm using Flash 8, and I have created a standard Dynamic
    field that pulls the text from an external text file using the
    LoadVars function and it works fine.
    To get the correct effect for the design, I would like to be
    able to create the illusion that the characters are being typed out
    when the page loads as if someone has started typing and also hear
    the "Typewriter Clack" each time a character appears.
    The only place I have found an example is on the Syphon
    Filter Game website which seems to have created the illusion
    perfectly:
    http://www.syphonfilterdarkmirror-thegame.com/en_IE/
    (Check out the bottom right section)
    I could create a Movieclip and add a character each frame
    but, I would like to be able to edit the text when required via a
    text file or even ASP or PHP if neccessary.
    Any help would be grateful.
    Cheers

    or here:
    http://www.actionscripts.org/tutorials/beginner/Scripted_Typerwriter/index.shtml

  • TOOL BAR ADD TAB NOT WORKING EVEN AFTER REINSTALL.

    ADD TAB IN TOOL BAR HAS BECOME NON RESPONSIVE. UNINSTALL AND REINSTALL DIDN'T HELP. YOU CAN STILL GET NEW TABS BY RT CLICKING FROM BOOKMARKS. BUT THE BUTTON AND THE PULL DOWN MENUS DON'T WORK. MY FIRST SUSPECT IS A VIRUS AS I JUST CLEANED ONE OUT OF MY SYSTEM. MAYBE A BROWSER HELPER LEFT SOMETHING FROM IT IN THE CODE. THIS WAS ABOUT THE TIME THAT NEW THREAT TO MOST OF THE WINDOWS SYSTEMS WENT OUT. SORRY CAN'T REMEMBER WHICH VIRUS I CLEANED. I CAUGHT IT AND CLEANED IT AUTOMATICALLY.

    I ADAPTED THIS STYLE AS EASIER TO TYPE AND READ AND... ''so I could interject a subtext easier.'' SHOUTING WAS NEVER THE INTENT. ''sorry about that Chief.''
    THANK YOU FOR THE QUICK RESPONSE AND MUCH NEEDED HELP!!!!!
    ''seats are cheap here.''
    THE ASK TOOLBAR WAS ONE OF THOSE THINGS I USUALLY LOCATE AND OPT OUT OF WHEN INSTALLING A NEW PROGRAM. I DIDN'T CATCH IT THE LAST TIME AND HAD A LITTLE TROUBLE GETTING RID OF IT SO I DISABLED IT ''or so I thought'' WITH THE INTENT TO GET IT LATER. I HAD TRIED TO USE THE [ADD/REMOVE] FROM THE CONTROL PANEL WITHOUT SUCCESS.''I completely forgot about the firefox add on console. ''
    I'VE SINCE TAKEN THAT OPTION AND I'M SURE THAT WILL FIX THE ISSUE. ILL LET YOU KNOW.
    THANKS AGAIN FOR THE GOOD WORK!!!!!! ''gee, I hope he heard me. they say that more than three exclamation marks is an indication of a damaged psyche.''

Maybe you are looking for

  • Error running a report with the rwclient utility

    I am running the following command: rwclient.sh server=rep_vese3valso9 report=/oracle9ias/appl/rec/bin/rep/CAJR30020.rdf userid=uspan/uspan@gio NU_SEC=727586 paramform=no destype=file batch=yes desformat=wide220 desname=/oracle9ias/appl/rec/lisrep/CA

  • Will not open new tab when clicked on the + next to open page

    firefox does not open new window when I click on the new tab + also does not open new tab when going through the file menu

  • SYSTEM ERROR, IDOC_ADAPTER, Unable to convert ALE to logical system

    Hi, I just wanted to check when i am using SXMB_IFR for monitoring then in message monitoring ---> if i check for Integration server as a whole i Find error as SYSTEM ERROR but if i check only for Adapter engine I get all the idocs successful. So wha

  • Imac via windows install erased mac partition

    Im having to many issues but i went to install windows 10 and when it came to select disk partition i seleted bootcamp im sure and formated but when i continued i noticed as you guessed it i deleted mac all of it.So with exp i went to online recovery

  • Sound test problem

    hello ...my problem is not that serious..i installed my creative soundblaster card and bought a 5. logitech sound system..and installed the drivers and applications from cd?which was given with the soundcard..i can hear sounds from speakers..but when