Note that there are some explanatory texts on larger screens.

plurals
  1. PONeed to compare string which has one or more word dynamic
    primarykey
    data
    text
    <p>I am validation string in c#(Pattern).</p> <p>The thing is with validation is, it contains one or more word dynamic</p> <p>For Example :</p> <p>First String - <strong>New</strong> Ticket Update- <strong>ID:New</strong> with Priority:<strong>New</strong> A New ticket/action item is assigned to you in GSD.</p> <p>Second string -<strong>#</strong> Ticket Update- ID:<strong>#</strong> with Priority:<strong>#</strong> A New ticket/action item is assigned to you in GSD.</p> <p>I have a second string with me in my DB and I have replaced the dynamic word with <strong>#</strong> it can be anything.</p> <p>And the First string is coming for Validating if it matches the pattern given in the second string.</p> <p>I know it can be done using string splitting operation but do we have any alternate method for this to be efficient because splitting operation we be heavy, like can we do it with regex or other thing. </p> <p>IF First string is : <strong>AnyWordWithNumbers</strong> Ticket Update- ID:<strong>AnyWordWithNumbers</strong> with Priority:<strong>AnyWordWithNumbers</strong> A New ticket/action item is assigned to you in GSD.</p> <p>So this string is valid.. IF First string is : <strong>AnyWordWithNumbers</strong> Tt Update- ID:<strong>AnyWordWithNumbers</strong> with Priority:<strong>AnyWordWithNumbers</strong> A New ticket/action item is assigned to you in GSD</p> <p>Which is missing last (.) and the spelling of ticket is incorrect it is not valid.</p> <p>Not : Mark in bold word can be anything </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload