<p>I need to write a program that can sift through specially-formatted text files (essentially CSV files with a fixed set of column types that have different delimiters for some columns ... comma in most places, colons in others) to search for formatting errors.  I figure regular expressions will be the way to go.</p>

<p>The question:  Is there a good regex library for VB6?</p>

<p>Thank you!</p>

<p>Edit:  Holy crap, 3 responses in under an hour.  Thanks a ton, folks!  I've heard such good things about Regex Buddy from Jeff's postings / podcasting, that I will have to take a look.</p>

[{'answer_id': 44665, 'author': 't3rse', 'author_id': 64, 'author_profile': 'https://Stackoverflow.com/users/64', 'pm_score': 2, 'selected': False, 'text': '<p>Use the Regex COM component built into Windows. You can find a step by step on referencing and using it in your project at: <a href="http://www.regular-expressions.info/vb.html" rel="nofollow noreferrer">http://www.regular-expressions.info/vb.html</a></p>\n'}, {'answer_id': 44668, 'author': 'robsoft', 'author_id': 3897, 'author_profile': 'https://Stackoverflow.com/users/3897', 'pm_score': 2, 'selected': False, 'text': '<p><a href="http://www.regexbuddy.com/vb.html" rel="nofollow noreferrer">Regex Buddy has a VB6 library</a></p>\n\n<p>I use this in Delphi and it\'s very good - and Jeff has raved about RegexBuddy on several occasions.</p>\n\n<p>I can\'t speak for the VB implementation, but it\'s certainly worth a look.</p>\n'}, {'answer_id': 44677, 'author': 'Bill the Lizard', 'author_id': 1288, 'author_profile': 'https://Stackoverflow.com/users/1288', 'pm_score': 2, 'selected': False, 'text': '<p>As you probably know, VB6 didn\'t ship with a built-in regular expression library.  You can, however, use one provided by an ActiveX or COM library.  <a href="http://www.regular-expressions.info/vb.html" rel="nofollow noreferrer">See this article</a> for details.</p>\n'}, {'answer_id': 30513515, 'author': 'Michael Kropat', 'author_id': 27581, 'author_profile': 'https://Stackoverflow.com/users/27581', 'pm_score': 2, 'selected': False, 'text': '<p><em>Other answers are correct, but link-only answers, so for convenience:</em></p>\n\n<p>In <em>File → References</em>, add the "Microsoft VBScript Regular Expressions 5.5" library:</p>\n\n<p><img src="https://i.stack.imgur.com/nxFPh.png" alt="screenshot"></p>\n\n<p>Now you can use the library in your code:</p>\n\n<pre><code>Dim matcher As RegExp\nSet matcher = New RegExp\nmatcher.Pattern = "^super cool string$"\nIf matcher.Test(someString) Then\n    \'...do something...\nEnd If\n</code></pre>\n\n<p>As usual, <a href="http://www.regular-expressions.info/vb.html" rel="nofollow noreferrer">regular-expressions.info provides the best reference material</a>.</p>\n'}]
['https://Stackoverflow.com/questions/44660', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/4602/']