regex - Powershell -like expression from a SQL LIKE expression -
I have a table in my database that contains some columns that are used for expression of choice in SQL . I'm using those expressions to exclude certain SQL objects from processing.
Now I am putting the same code in PowerShell, but I want to keep the column continuously. I need to do something on the lines of this:
Where {$ someVariable-like $ myColumnData}
There is no way to change a power Expression of an SQL in an expression like? I can write my own, but it seems that it seems difficult and error, so if a person has already worked, it would be good.
For example, I would like to be able to convert like the following:
% some string% - & gt; * Some strings * [0-9] Blah% - & gt; & Lt; I do not know what will happen here & gt; Blah%
As a side-question, are any standard regex expressions allowed like PowerShell or is it limited? And * wildcard?
Thank you!
This is the same as a look at the wildcard characters for a parcel here:
Comments
Post a Comment