Use regex to find specific characters on both ends, with any character between

Viewed 23

How can I utilize regex to search for two symbols (minuses in this case) with any character in between?

Example line:

-000000017500m5 -00000022000024

Is there a way to find all lines containing two minuses like the one above? The distance from the first minus to the another is always 15 characters (including space).

The query should be limited to this specific range.

0 Answers
Related