简体   繁体   中英

How can I search for a string by regex in the memory of another process?

I have found similiar question How can I search for a string in the memory of another process?

But in my case I need search by regex

regex pattern is "765611"

EG I have typed in np++ "76511test45ras"

I need retrive in buffer 765611 and 4 char after this

How can I make this?

您以与链接的问题完全相同的方式执行此操作,只是您运行正则表达式匹配而不是执行memcmp

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM