Hii All,
i am trying to search for
<td>12</td>
and replace with
<td align="center">12</td>
so i have search this with <td>[0-9]*</td>
i want this number 12 would not change and the rest would change
as numeral between the code"" is varying, i am unable to replace it .
please find a way out .
alok agarwal
URGENT HELP NEEDED
Moderators: AmigoJack, bbadmin, helios, MudGuard
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
Find what: (<td)(>[0-9]*</td>)
Replace with: \1_align="center"\2
NOTE: Space character is represented with bold red underscore: "_"
To limit changes to those cells that have a value look for this instead:
Find what: (<td)(>[0-9]+</td>)
Use the following settings:
-----------------------------------------
[X] Regular expression
Replace All
-----------------------------------------
Configure | Preferences | Editor
[X] Use POSIX regular expression syntax
-----------------------------------------
Replace with: \1_align="center"\2
NOTE: Space character is represented with bold red underscore: "_"
To limit changes to those cells that have a value look for this instead:
Find what: (<td)(>[0-9]+</td>)
Use the following settings:
-----------------------------------------
[X] Regular expression
Replace All
-----------------------------------------
Configure | Preferences | Editor
[X] Use POSIX regular expression syntax
-----------------------------------------
Hope this was helpful.............good luck,
Bob
Bob