Click here to Skip to main content
15,888,020 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys, I appear to have forgotten everything I knew ( not much ) about Regexes
I want to extract lines from a text file that begin with T16 and have TTCC in the line

What I have tried:

I'm using the regex search option in Notepad++ and tried entering T16.TTCC. with no hits
Posted
Updated 9-Sep-20 1:50am
v2

 
Share this answer
 
Comments
pkfox 9-Sep-20 5:55am    
Thanks Richard that does the trick
To Add to Richards comment, It's worth you getting a copy of Expresso[^] - it's free, and it examines, tests, and generates Regular expressions.
 
Share this answer
 
Comments
pkfox 9-Sep-20 13:52pm    
I've got that Paul thanks
Just a few interesting links to help building and debugging RegEx.
Here is a link to RegEx documentation:
perlre - perldoc.perl.org[^]
Here is links to tools to help build RegEx and debug them:
.NET Regex Tester - Regex Storm[^]
Expresso Regular Expression Tool[^]
RegExr: Learn, Build, & Test RegEx[^]
Online regex tester and debugger: PHP, PCRE, Python, Golang and JavaScript[^]
This one show you the RegEx as a nice graph which is really helpful to understand what is doing a RegEx: Debuggex: Online visual regex tester. JavaScript, Python, and PCRE.[^]
This site also show the Regex in a nice graph but can't test what match the RegEx: Regexper[^]
 
Share this answer
 
Comments
pkfox 9-Sep-20 13:53pm    
Thanks Patrice

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900