in reply to how to search for a pattern in a string within a certain range
This is so similar to your last question. So you want to match at most 8 characters before the sequence instead of any number of characters. Did you really not see anything relevant in perlre? What did you try?
|
|---|