Is there a way to search a paste buffer? I would like to determine if the paste buffer contains a certain tag and then add special processing if that tag is found (in a paste callback).
- karen dL.
Nevermind. I figured out that I could copy the paste buffer to a named buffer and then use substr to find what I was looking for.
$rel_block = substr($paste_block, 2, 18);