Hi,
This regular expression should select all table related tags(table, thead, tbody, and the rest), opening or closing
</*t[ahbrd].*>
it works in Notepad+ and in PSpad.
In HTMLPad it selects the whole document (!) starting at the first occurence of a table tag. This is wrong.
Any advice on this? Do I have to change the expression or is HTMLPad a bit buggy when it comes to Regex?
EDIT: I found that I can put my posts as sticky if i like to. Is this the default for every user? Holy Crap.
Problem wit Regular Expression in HTMLPad
Moderator: kfury77
Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
Please try to follow these guidelines. This will help to receive faster and more accurate response.
- Check the Support section of the corresponding product first. Chances are you will find your answer there;
- Do not create new topics for already reported problems. Add your comments to the existing topics instead;
- Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
- Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
- Include the version number of the software you are using;
- This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Re: Problem wit Regular Expression in HTMLPad
That sticky option wasn't there before, I'm sure of it. Well, not that sure but I think I would have noticed it when posting previously. Has someone been playing with the forum options and turned this on automatically, or maybe given us low-level users some kind of moderator privileges?
Dave
davethompson.co.nz
Dave
davethompson.co.nz
Re: Problem wit Regular Expression in HTMLPad
Hi otomo,
Try this expressions instead:
<[/]*t[ahbrd][^>]*>
The expression you gave, actually would select also "<td></td>" - (at least in NotePad ++).
As for the sticky option. Not sure if there is a problem, I will try to check this out..
Kind regards,
Gatis
Try this expressions instead:
<[/]*t[ahbrd][^>]*>
The expression you gave, actually would select also "<td></td>" - (at least in NotePad ++).
As for the sticky option. Not sure if there is a problem, I will try to check this out..
Kind regards,
Gatis
Kind regards,
Gatis Avots
Gatis Avots
Re: Problem wit Regular Expression in HTMLPad
Thanks Gatis, your Expression works.
Hmm strange though that my version worked in Notepad++ but not in HTMLPad.
I am still tempted to make this a sticky.
Hmm strange though that my version worked in Notepad++ but not in HTMLPad.
I am still tempted to make this a sticky.
