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 2
Title Test Details Parentheses Quote
Expression
(\(")([0-9]*)(\")
Description
Very basic, but couldn't find it, so from one Regex noob to another... Needed to replace quotes around giant SQL INSERT unique numeric field; that was in quotes... In DW, FYI, I replaced with: ($2 $2 being the second sub exp.
Matches
("847" ("123456789"
Non-Matches
"847")
Author Rating: Not yet rated. Neil Lindberg
Title Test Details End Parentheses Price Quote Stripper
Expression
(")([0-9]*)(",")([0-9]*)("\))
Description
This was made to change non-decimal prices at the end of a huge SQL Insert... To use to replace in DW (without quotes) use sub expression like: $2,$4)
Matches
"0","0") "999","999999")
Non-Matches
0,0)
Author Rating: Not yet rated. Neil Lindberg
   Displaying page 1 of 1 pages; Items 1 to 2

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