Regular Expressions 101

Enterprise

Community Library

Community Library Entry

1

Regular ExpressionOpen Workspace

/
(select top [0-9]+ percent|select top [0-9]+|select )
/
ig

Description
Created·2015-05-21 19:59
Type·Match
Flavor·JavaScript

Some times we need replace de first select in a query to another. In my case i want replace to "Select top 1". With that a can replace any select to select top 1.

Submitted by Diego Troitiño
Open Workspace