Boat Drinks  

Go Back   Boat Drinks > General > Computer and Consoles

Reply
 
Thread Tools Display Modes
Old 02-03-2009, 16:47   #1
Briggykins
Vodka Martini
 
Briggykins's Avatar
 
Join Date: Feb 2009
Location: Exeter
Posts: 753
Default Regular expressions

Having a bit of time getting a search to work in Notepad++. Basically I've got a whole list of links, however the software used to generate them got a bit confused with some of them. The two types look like this:

Code:
CORRECT: <a href="0025-0000.eml">0025-0000.eml</a>
INCORRECT: <a href="0026-0000.emlsome other stuff here">0026-0000.eml">
There are about 2000 in all and I don't want to go through them manually. I was trying a search to find all .eml*"> but that doesn't pick up any of the incorrect types, only the correct ones. I thought * found any number of any characters, but obviously I'm wrong.
Anyone able to help, or understand what I'm babbling about?

Cheers,

Nick
__________________
Briggykins is offline   Reply With Quote
Old 02-03-2009, 16:59   #2
Briggykins
Vodka Martini
 
Briggykins's Avatar
 
Join Date: Feb 2009
Location: Exeter
Posts: 753
Default

Ah, nm. Added a dot before the * which fixed it.
__________________
Briggykins is offline   Reply With Quote
Old 02-03-2009, 18:25   #3
phykell
Vodka Martini
 
phykell's Avatar
 
Join Date: Sep 2007
Posts: 833
Default

Get RegExBuddy - it's only cheap and is great for people who never had to write scripts with awk ad nauseum
__________________
phykell is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:55.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.