-
1. Re: Finding a space & special character and make non-breaking with GREP
Salah Fadlabi Oct 23, 2013 1:26 PM (in response to Michael_OSP)Try: (\w.+)(<\w.+>) (\w.+)
Change to: $1 $3
Change Foramt: select the character style
-
2. Re: Finding a space & special character and make non-breaking with GREP
Michael_OSP Oct 23, 2013 1:50 PM (in response to Salah Fadlabi)That didn't work; it selected almost all of the paragraph.
-
3. Re: Finding a space & special character and make non-breaking with GREP
Salah Fadlabi Oct 23, 2013 1:59 PM (in response to Michael_OSP)Try: (\w+)(<\w+>) (\w+)
Can you give us one pragraph sample of text?
-
4. Re: Finding a space & special character and make non-breaking with GREP
Michael_OSP Oct 23, 2013 2:06 PM (in response to Salah Fadlabi)Here is a paragraph of some of the text I am workin on for this project.
Assembly Member X was granted unanimous consent that Assembly Rule 56 and Joint Rule 62(a) be suspended to permit the Committee on X to notice hearing of X at this time, upon adjournment of Floor Session, in Room
<usb>
X, pending re-referral to the committee.
-
6. Re: Finding a space & special character and make non-breaking with GREP
Michael_OSP Oct 23, 2013 3:19 PM (in response to Salah Fadlabi)Thanks for all the help but that didn't work. i think you had some returns in there (/r) but even if I took them out nothing was found.
Here is a screen shot of how the text looks in InDesign CC.
Here is a copy of the text if you need it again:
Assembly Member X was granted unanimous consent that Assembly Rule 56 and Joint Rule 62(a) be suspended to permit the Committee on X to notice hearing of X at this time, upon adjournment of Floor Session, in Room
<usb> X, pending re-referral to the committee. -
7. Re: Finding a space & special character and make non-breaking with GREP
P Spier Oct 23, 2013 4:48 PM (in response to Michael_OSP)For the general case it looks like (\w+)(<usb>)( \w+) should find the string. You could change that to (Room)(<usb>)( \w+) if it'salways a Room.
Change to $1$3 and apply the style in the change options.
-
8. Re: Finding a space & special character and make non-breaking with GREP
Michael_OSP Oct 24, 2013 8:50 AM (in response to P Spier)I will try it this morning. Will squeeze it in on updating on old iMac to from OS 10.5.8 OS 10.9 so it can run Adobe Creative Cloud.
-
9. Re: Finding a space & special character and make non-breaking with GREP
Eugene Tyson Oct 24, 2013 9:05 AM (in response to Michael_OSP)This appears to be working for me
(\w+?[\s|\S])<usb>(.+?\w+)
$1$2
Change Format
Choose your character style.
-
10. Re: Finding a space & special character and make non-breaking with GREP
Michael_OSP Oct 24, 2013 9:51 AM (in response to P Spier)Peter, thanks for the GREP. That worked! Much appreciated!
-
11. Re: Finding a space & special character and make non-breaking with GREP
Michael_OSP Oct 24, 2013 9:52 AM (in response to Eugene Tyson)Eugene, your GREP search worked too! Thanks for the help!






