in reply to help match this

Since you don't show what you tried or say how it didn't work, it's hard to help, but perhaps adding a s flag after the regex might be what you want (like /match.*this/s). Without that, . will only match non-newline characters.