I'm working in a Project where I have several tables with numerical references that I must replace with text. One of these numbers I need to replace is 0, where I need the word "Texto". However, I have many other numbers where 0 appears, such as 20, 50, 120, and and don't want to replace the 0 in these numbers.
Is there a way to replace only the 0, not the 0 in the 20, 50, etc.?
Replace the 0 individually, not in 20, 50, 120...
Replace the 0 individually, not in 20, 50, 120...
You do not have the required permissions to view the files attached to this post.
Lucia
Re: Replace the 0 individually, not in 20, 50, 120...
One solution could be to do a find and replace in the source code.
If you look at the topic in text mode, the zeros might look something like <td>0</td>.
So, you might be able search for >0 and replace with >Texto ; i.e. find only zeros that are at the start of a tag.
In the find and replace pane, you'd also need to need to tick 'Find in source code' option.
If you look at the topic in text mode, the zeros might look something like <td>0</td>.
So, you might be able search for >0 and replace with >Texto ; i.e. find only zeros that are at the start of a tag.
In the find and replace pane, you'd also need to need to tick 'Find in source code' option.
Re: Replace the 0 individually, not in 20, 50, 120...
Thank you very much
, I don't know why didn't I think of this
, I have used replace in source code many times 
Lucia
-
doc_guy
- Propellus Maximus
- Posts: 1979
- Joined: Tue Nov 28, 2006 11:18 am
- Location: Crossroads of the West
- Contact:
Re: Replace the 0 individually, not in 20, 50, 120...
Boa sorte, Lucia! Estamos aqui se vc precisar de ajuda novamente. 
(Sorry, I don't get to use my Portuguese very often.)
(Sorry, I don't get to use my Portuguese very often.)
Re: Replace the 0 individually, not in 20, 50, 120...
The fact you speak Portuguese surprises me... Specially the abbreviation for "você"...
Lucia
-
doc_guy
- Propellus Maximus
- Posts: 1979
- Joined: Tue Nov 28, 2006 11:18 am
- Location: Crossroads of the West
- Contact:
Re: Replace the 0 individually, not in 20, 50, 120...
I abbreviated "você" for two reasons: First, I only have US English enabled on my keyboard right now, and second because I wanted it to not look like I just generated it from a computer. By using the abbreviation, you'd know that I hadn't just Googled the Portuguese translation. 
I lived in São Paulo from 97-99, which is how I learned Portuguese, because it isn't taught in any school around here that I know of.
I lived in São Paulo from 97-99, which is how I learned Portuguese, because it isn't taught in any school around here that I know of.
