I need to remove the token that are marked with a string with curly brackets.
I have tried to use Expresso to construct something that will parse ...
------------- ---------------- -------------------------------- "{ Token 1} ADSASAD {TOKEN 2} ADDACCASADEZE DFB DB {Token 3} "- --------------------------------- ----------------- ---------
and "token 1", "token 2", "token 3 "Production
I tried to use ..
-------------------- ------------------------- ---------------- ({. +}) --- ------------------------- ------------------------- ----
... but it seemed like
\ {(*. *?) \}
\ "" Meaning is in a regx). \} Similarly the bandet closes. *. * Takes minimum data instead of * just *, which is "greedy" and whatever it takes, it takes everything.
If you have been assured that your token (or required) will be of a specific format, you can replace * with an appropriate character set. For example, in the potential case you want only words, you can use (\ * *) instead of (* * *). The advantage of this is that}}} Completion of characters does not match in the internal expression in the class, so you do not need it? Modifier).
Comments
Post a Comment