GREP to remove white space at the beginning. line?

Hello

I come through this often where a client gives me a Word file with a white space

at the beginning of each line of a long list, in this case a table.

I tried using GREP to remove this by using 'any white space' and then choose 'rental '.

and selecting 'start of the paragraph' but it will not remove this space.

Note, this space is not a tab, so I can't search tabs replace it with nothing.

I also tried typing in a unique space in the search field and then go to the dialog box options and

by selecting 'location' 'beginning of the paragraph.

Thank you

The location must be the first in the expression. Try searching for ^ \s+

There is also a script in the samples called FindChangeByList which will be Reome of white space, trailing white space, empty paragraphs, and several spaces at a time.

Tags: InDesign

Similar Questions

  • How to remove white space at the bottom of the start menu

    Hi, anyone knows how to remove the little white space between the bottom of the horizontal menu and the top of the vertical menu collapse (see below).  Code below is also included.  Is or, if it is not removable, possible to change its color?  Thank you very much.

    bootstrap_menu_2.jpg

    < nav class = "navbar, navbar-default" >

    < div class = "container-fluid" >

    <!-brand and toggle get grouped together for better mobile display->

    < div class = "bar navigation-header" >

    < button type = "button" class = "toggle navigation bar has collapsed" data-toggle = 'collapse' data-target = "#defaultNavbar1" >

    < span class = "sr only" > toggle navigation </span >

    < span class = 'bar icons' > < / span >

    < span class = 'bar icons' > < / span >

    < span class = 'bar icons' > < / span >

    < / button >

    < a class = 'bar of navigation-brand' href = "index.html" > < /a > brand

    < / div >

    <!-collect the nav links, forms, and other content to alternate->

    < div class = "navbar-collapse custom class collapse" id = "defaultNavbar1" >

    < ul class = "navbar-nav, navbar-right nav" >

    < li > < a href = "Music.html" > music < /a > < /li > ""

    < li > < a href = "Images.html" > pictures < /a > < /li > ""

    < li > < a href = "Unity3D.html" > Unity3D < /a > < /li > ""

    < li > < a href = "Flash.html" > Flash < /a > < /li > ""

    < li > < a href = "About.html" > on < /a > < /li >

    < /ul >

    < / div >

    <!-/ .navbar-collapse->

    < / div >

    <!-/ .container-fluid->

    < / nav >

    @media (max-width: 768px) {}

    {.custom-class

    Overflow-x: visible;

    -webkit-too-full-scrolling: touch;

    background-color: #4A72C0;

    height: auto;

    }

    . NAV > li {}

    display: block;

    position: relative;

    -webkit-box-shadow: 0px 2px #8EC1FF;

    box-shadow: 0px 2px #8EC1FF;

    border: 1px solid #005092;

    }

    }

    Massi says:

    Hi, here is an update.  I managed to get rid of the white line in the menu expanded by increasing the height of the image (sorry, I don't think than forward).  So, there is only a thin white line on the left in the menu of the collapse.  If she can't get rid of, its color can be changed?  Thank you.

    Here ya go - save you messing around hunting which was placed on what element and then combination of css classes, get rid of him.

    .NavBar - default .navbar-collapse {}

    border: none;

    }

  • remove white space at the top of page

    Hi people

    Just created a test in the Muse of the site for a client and noticed that a bunch of white space has appeared at the top of each page when it is tested on an iPad and iphone6 - but not on the desktop? Check the solutions, the foot takes off as suggested, no difference. Removed the filling of the page on the top on the site and on every page - no difference. Downloaded again the site to the server after which the home page now isn't the white band, but the other pages (Offshore and onshore Rigs - BOP and well - Cyber Rig - HSE control) do? The only change I made to the homepage before downloading has been to place the video widget full width, which appears twice on the page of images of posters and other video files?

    The site is www.rig-inspection-adc.com - suggestions gratefully received...

    Greetings - Peter

    Peter,

    Nice problem. It took some time locate the problem, but I found it. Here's the problem:

    There is a small overflow "A key station" located on the rectangles and this is causing the problem.

    Steps to fix:

    To get at the top of the page "key position" rectangles visible for editing, I stretched first image upward. Then, I brought the rectangle to the right size.

    We now have the indicator "key position" visible and ready to be changed.

    I've then re-released the site. Here are the before and after screenshots of my mobile.

    Let me know if you have any problems.

    See you soon,.

    Craig

  • Extra white space after the process page

    I'm trying to remove white space after the page is processed.
    Usually it doesn't bother me, but it doesn't bother with javascript.

    Explanation:
    1. I send an xmlhttp request to coldfusion to process.
    2 Coldfusion executes a stored procedure on an oracle database that returns results as XML.
    3 Coldfusion returns XML to the client: < cfoutput > #XmlParse (ajaxXML) # < / cfoutput >.
    4. the client (Javascript) runs the function that manage the data and returns an error because: " xml not at the beginning of the external entity declaration".

    I tried to use with the attribute cfsetting: enablecfoutputonly = "yes", but still the result is the same.

    Any idea or lead in the right direction would be greatly appreciated.

    If it's really the content of ajaxXML, then the above code and cfcontent should solve the problem.

    As follows:


    #Trim (ajaxXML) #.

  • How to remove white space of table column

    Hi all

    I am trying to remove white space for column of a table and using ltrim(), rtrim(), the replace() function to.

    but it does not work and the problem remains the same me gives error invalid number as he attempted a conversion on the values of column.

    So please suggest me if he has other ways to remove white space of the column.

    Thank you!

    Perhaps his other traits. Try this

    length (regexp_replace (data_0003, "[^ [: digit :]]"))]] "))

  • White space at the bottom of the container

    I've tried everything. I turned off sticky footer and removed the padding down but I can't figure out how to remove white space at the bottom of the container.image.jpegimage.jpeg

    I wasn't expecting the rounded corners to cause problems.

    But positioning not connected and disconnected from the separate elements in a Web page is always something to be careful with. Smart Guides can pop up very reassuring, but Muse simply cannot change the principles of HTML. The length of a text and the depth of a just framework is not easy to predict and anticipate, so a bad alignment can occur. Grouping could help. Try to find a different design that is less sensitive to these effects.

  • How can I remove a space before the first word in a sentence using find and replace, or GREP?

    Right, so I put a document in inDesign to a word document, and it has a space before each first word in a sentence. It's really annoying and I need a quick way to get rid of them. I did not know how to do it with find/replace, but I don't know that there is a way to GREP, if someone can help me. I've included an image so that people can see exactly what I mean.http://i.imgur.com/1GcrmEf.png

    Your example shows a space at the beginning of each paragraph, which is easy to remove with the ^ character, which means "beginning of the paragraph. If ^ \s will find a single of any kind at the beginning of a paragraph, as in your example. But the word you used was 'sentence' not 'paragraph' which can be more difficult. Surely if you are one of those one-space-after-point, you want to keep this space? What I don't get your example? Maybe your drive is one of those linebreak-at-the-end-of-each-sentence people.

  • Remove the white space below the text

    Why is there so much white space between the word "Scriptures" and the image below at the top of http://www.tellerbooks.com/faith.htm ? How some of this space can be removed so that it looks like the other product pages such as http://www.tellerbooks.com/public_policy.htm?

    Arrangements of tables are not my first choice for the modern layout.

    Try to remove your CSS table cells default padding and margins.

    TD {padding: 0; margin: 0}

    Nancy O.

  • How to remove the white space of the oam file?

    I did the MCO in Adobe Edge animate when I insert in Adobe Dreamweaver.

    She turn into this:

    123.JPG

    There is a white space below the oam file.

    How to get rid of?

    I am a student in design without as much knowledge of coding > < please help me.

    When you insert the file oam, I guess it gets inserted as a tag .

    style = "display: block" ... >

    Add the "BOLD" text to the tag object as shown above.

    HTH,

    Vivekuma

  • White space at the bottom of Page

    How can I get rid of the white space at the bottom of this page:

    Carpet cleaning | Seattle | Bellevue | Kirkland | Redmond

    1. Trouble code error (s)
      [Valid] Validation of the markup of http://dirtycarpetangels.com/carpet.html - W3C Markup Validator
    2. Remove height & top of CSS values.
    3. Clear your floats when they became useless.

    Nancy O.

  • InDesign adds a boring space at the beginning of a line

    Text provided to me very often has the combination:

    rest of < tab > < chip > < tab > text...

    If I select < tab > < chip > < tab > and click on remove, Indesign replaces it with a space.

    It is very annoying because I then remove the space. Who needs a space at the beginning of a line like that!

    Preferences > AutoCorrect > [] enable AutoCorrect is turned OFF, so there is no ongoing substitution (I think).

    Someone offers a glimpse of what I need to set in my prefs to stop this behavior.

    I use Mac OS 10.9 and Indesign 2014

    Thank you very much

    K.

    Are you sure you're pressing BACKSPACE, do not delete or cut (cmd x)

    In preferences, under Type option to automatically adjust a space then there operations cut and paste.

    With the help of Cup is the only way I can imagine that this could happen.

  • Remove empty space for the search query entry

    Hi guys, I am currently using JDeveloper 11.1.2.1.0

    I created a search with the use of criteria to display, query and table, which works perfectly with success.

    But I would like to improve the research by removing the empty space for the entry. For example, search for the name (with the search operator = Contains):

    Entry: Adam-> Works Fine!
    Entered: < space > < space > Adam not work :(

    I would like to remove the empty space at the beginning of the end (trim()) part of the entry.

    Any suggestion or comments?

    Please take a look at this thread
    publish in the search criteria for the ADF

    Seems to be the same requirement.

    concerning
    Peter

  • 3.1EA1 - white space in the output of the Script window

    We need a way to control white space in the output of the Script window

    SQL * Plus a trimout, trimspool and col/format... can we please get something similar?

    If these options are not on the calendar of 3.1, then even the simplest option that removes all trailing spaces would be of tremendous value to me.

    Hello

    No luck yet on trimout / support, but 3.1 trimspool EA1 includes better support for column: wrap, trunc, format, clear, and so on.

    Relevant forum to other posts on this topic:
    TRIMSPOOL on the SQL worksheet
    Re: Out of the Script and not the extra copy of the spaces

    I recorded an improvement for this request because it appears highly desirable and I don't see it in the list of the Exchange feature requests:
    Bug 13357403 - FORUM: NEED to TRIMOUT AND SUPPORT TRIMSPOOL

    Kind regards
    Gary
    SQL development team

  • Additional white space around the graphic header &amp; amp; Navigation bar

    I have a graphic header and Navigation bar (flight path images) positioned inside a table. Unfortunately, there are about 1-2 pixels of white space on the left, right and the top of the header image. Even with the navigation bar - there are 1-2 pixels of white space around the edges (left and right). By default, the cell padding for the table is set to zero. So central is set to zero, why do I see a blank space between the edge of the graph and the edge of the table?

    You can see what I mean here: http://newstartinvestment.com

    What is causing this extra white space, and how do I get rid of him?

    On March 26, 2007 in macromedia.dreamweaver, csbridges wrote:

    > I have a graphic header and Navigation bar (flight path images)
    > positioned inside a table. Unfortunately, there are about 1-2 pixels
    > white space on the left, right and the top of the header image.
    > Even with the navigation bar - there's 1-2 pixels of white space around the edges
    > (left & right side). By default, the inner margin of the table is
    > the value zero. So central is set to zero, why I see white
    > space between the border of the chart and the edge of the table?
    >
    > You can see what I mean here:
    > http://newstartinvestment.com (Btw, I
    (> dislikes yellow bearings - they will be removed shortly.)
    >
    > What is the cause that extra white space, and how can I get rid of him?

    Personally, I thought that the white border was a feature, but... In
    addition to the cellpadding, adds cellspacing:


    cellspacing = "0" bordercolor = "#000000" bgcolor = "#FFFFFF" >

    --
    Joe Makowiec
    http://Makowiec.NET/
    E-mail: http://makowiec.net/contact.php

  • How can I get rid of the white space in the navigation toolbar after installing LastPass?

    I've uninstalled and reinstalled Firefox 64-bit on my Windows 7 laptop. After installing LastPass I get that white space in the search on the left. I didn't know if anyone has had a similar problem. Thanks for your time guys.
    Here is a link to what it looks like on my page. http://i.imgur.com/kpRh0tv.PNG

    You are welcome.

    Please use the support forum for Mozilla.

Maybe you are looking for

  • XP - automatic updates does not

    During the last 2 rounds of updates, the Windows Update icon appears, advising me that the downloads are available, but when I click the icon it disappears and does nothing.  I have to go to the Windows Update site to get updates. I applied workaroun

  • Photosmart C4280 scanner function does not scan

    I recently bought an IMac running the Mavericks. All In One Photosmart attached usb prints fine but when I try to scan I get this message: HP Scan cannot be opened because of a problem. Check with the developer to make sure that HP Scan works with th

  • Windows Journal program

    Where to start learning how to use the program "Windows Journal" and where can I find his 'pen '? Any help pointing me in the right direction would be appreciated.

  • Non-system disk press any key to continue

    About 3 or 4 times a week, my screen is black and says "press any key to nonsystem disk continues." When I press a key, the same sentence is repeated. And he repeats as many times as I press a key. I don't know why it does this or what it means or ho

  • J4580 switch doesn't work anymore; withdrawal of the façade; leave unplugged

    The power button no longer works on the Officejet J4580.  He became harder and harder to make contact and finally stopped altogether.  The printer is currently in a State of 'ON' all the time.   (1) the front plate of the control panel can be removed