|We don't bite newbies here... much|
regex: something...(!something)...somethingby aaaone (Initiate)
|on Jul 17, 2008 at 17:09 UTC||Need Help??|
aaaone has asked for the wisdom of the Perl Monks concerning the following question:
Hi! Regexes in Perl seem to be very powerful. But the thing I can't determine how to do is : match some part of text, which starts with "somebegin", ends with "someend", and there must NOT be some text or regex snippet inside the block...
Maybe, the solution is near (?!) blocks, but this is the part of regexes I can't understand in a full amount.
Can you give me some example or explanation of what I need? Thanks!)
Added: here is a code snippet that contains the bug - maybe it will be more easy for you just to find the errors
Added: I'm having such troubles not only with HTML, so please do not recommend HTML Parsers..
Thanks for all good people for help )