Hi,
I'm new to using regular expressions, so please excuse my naiveté..
I have a huge data file that contains large strings of key-value pairs, along with a lot of crap that I just don't need.
Using TextPad, I'm trying to do a find (and mark) for lines that contain TWO or more instances of the "=" character. I tried to use:
=\{2\}+
But that only finds:
"==" (i.e. two equal signs right next to each other)
Whereas I was hoping that TextPad would be able to isolate (i.e. mark) the lines that had this:
"...kret=3728490-;jkli=890njkhjk;uiy=89jklui<CRLF>"
But not this:
"...uyi=343jjkouu;<CRLF>"
So, if any of that made any sense...is this possible?
Thanks...
Marking lines that contain TWO or more instances of "=&
Moderators: AmigoJack, bbadmin, helios, MudGuard
-
kster
- Posts: 2
- Joined: Tue Oct 14, 2008 9:09 pm
- Location: NYC
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
Search/Find, find what: =.*=
Use the following settings:
-----------------------------------------
[X] Regular expression
Mark All
-----------------------------------------
Configure | Preferences | Editor
[X] Use POSIX regular expression syntax
-----------------------------------------
Use the following settings:
-----------------------------------------
[X] Regular expression
Mark All
-----------------------------------------
Configure | Preferences | Editor
[X] Use POSIX regular expression syntax
-----------------------------------------
Hope this was helpful.............good luck,
Bob
Bob