Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Searching for non breaking spaces 1

Status
Not open for further replies.

MarcusStringer

IS-IT--Management
Sep 11, 2003
1,407
AU
Does anyone know how to do a search for the last word in every Paragraph?

And also what code is for non breaking spaces?

So I can replace it with itself plus an XTag code?

For example third para from bottom ending with Paul

Picture1.png


Picture2.png


Marcus
 
To search for the last word in every paragraph, you can do a regular-expression search (click "more options" in the search dialogue) with the expression "[^ ]+$" (without quotes). A non-breaking space can be represented by the string "\x00a0" (without quotes) in a regular-expression.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top