Regex for finding data in a specific column of a row

I am trying to find a document for data in a specific column. I am trying to use:

^.{x}[data to find]

where x is the number of columns I want - 1.

I'm not sure if I am doing something wrong, or if my regex mechanism does not support this syntax. I am trying to use Notepad ++ if this is useful.

+5
source share
2 answers

Update 2013-2014 (4-5 years later)

As mentioned by Alan Moore in the comments

Notepad ++ v6.x supports real regex support through the PCRE library

. " Notepad ++ ()" ( )


( 2009 .)

Notepad ++ 5.2 .

, {min,max}, , .

http://1.bp.blogspot.com/_RrGIVCQs3RU/SHbq1B0wYlI/AAAAAAAAALI/h21UEYMEivc/s400/np%2B%2Breplace.png

:

.... [repeat '.' as many time as the number of column you want] ...[data to find]

^: Notepad ++ , . eol (\r \n)


Asmor :

Notepad ++ Scintilla Scintilla > regex.

, . , , , (, , , , !), .

( , )

Scintilla, ^ , . , 3 . ^..3, ..3 3 .

+6

Awk , .

++ {x} , .

0

All Articles