Lively discussions on the graphic arts and publishing — in print or on the web

Go Back   Desktop Publishing Forum > General Discussions > Web Site Building & Maintenance

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 04-13-2009, 10:39 AM   #1
dacoyle's Avatar
Join Date: Aug 2005
Location: Arlington, VA (across the river from Washington, DC)
Posts: 560
Default RegEx help

I have a large document I'm converting from Word. It was poorly constructed so the conversion has been challenging. There are many spacing issues, the worst of which a couple hundred numbered figures have no space after the figure number and the following text, i.e., Figure 123.This is the caption.

I have a RE that will search for the text correctly, but I'm having trouble with the replace string. My RE is Figure [0-9]{1,3}.

I need the replace string to put the number back but include a space after the period. None of the online references I Googled clearly explain using the \1 or somesuch. Some input would be appreciated.

dacoyle is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 01:32 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Contents copyright 2004–2018 Desktop Publishing Forum and its members.