I'm trying to write a regex to sift through a sizable amount of data. After it finds something, I want it to match the next 4 characters whatever they are. How can I do this?
/match long stuff here..../
The . in a regex is "Any character." Four of them gets you four characters. You could also do:
/match long stuff here.{4}/
This may depend on what language you are writing your regex in.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With