RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details connection string password
Expression
(pwd|password)\s*=\s*(?<pwd>('(([^'])|(''))+'|[^';]+))
Description
This pattern matches the password from a SQL Server connection string.
Matches
server=(local);password='O''Brian';
Non-Matches
invalid connection strings
Author Rating: The rating for this expression. Eugen Anghel
   Displaying page 1 of 1 pages; Items 1 to 1

Copyright © 2001-2024, RegexAdvice.com | ASP.NET Tutorials