Ask a Question related to Adobe Indesign Windows, Design and Development.
-
joec #1
find replace a range of characters
I need to find and replace a range of characters that are contained in brackets like below:
[graphic - DTOT211-ToyVotes.eps]
It seems the brackets are throwing me off. I just need to find the specific range and replace it with nothing, to strip it out.
Thanks in advance
Joe
joec Guest
-
Is there a way to replace characters in a string/array
I am trying to find a function similar to php's str_replace is there something that will allow me to replace a certain character in a variable? ... -
Replace characters in a Field when bindig data
I have a drop down field on a form. When binding data to the DataValueField property of the drop down, I need to replace "&" with "%". In code... -
find/replace
when a user searched for a value with find/replace from a form he got the message the value could not be found but when I looked for it in the... -
Using Replace function to remove two different characters
I'm using replace function to strip 0s from a particular string: <%=replace(rs1("racelength"),"0","''"%> but I need to also strip empty spaces... -
Replace * with return characters?
Is there a way to do this or not? I want to import a file with return characters but it seems impossible. even with the new find/replace... -
textmonkey@adobeforums.com #2
Re: find replace a range of characters
Edit>Find/Change
Find What:/[graphic - DTOT211-ToyVotes.eps]
Change To:space
Find Next or Change All
I just did it on a copy of your email and it worked like a charm, brackets and all.
textmonkey@adobeforums.com Guest
-
Scott_Falkner@adobeforums.com #3
Re: find replace a range of characters
I think this is where a wildcard string would come in handy, so you could search for "[\$]" to find anything surrounded by square brackets. InDesign does not have this feature. The documentation of this is a little vague, as it does not specificly state that the wildcard "\?" is exactly one character long.
Scott_Falkner@adobeforums.com Guest
-
joec #4
Re: find replace a range of characters
Hi Scott,
The wildcard string is what I have been trying, but it appears that the [ ] may actually have some kind of wildcard attribute. I came across this info somewhere:
[ ]
Specifies one of any character in a set, as in <WILDCARD> ` c[auo]t ` , which locates "cat," "cut," and "cot." Note that you must enclose the word which includes a set in backquotes (`) and there can be no spaces in a set.
Do you see any way around this, as the text string I am searching for actaully contains brackets? Thanks for the replies Textmonkey and Scott
joec Guest



Reply With Quote

