<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Regular expression [A-Z] * in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Regular-expression-A-Z/m-p/851408#M655171</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I write "[A-Z] * " in Qlikview?&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jun 2015 10:00:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-30T10:00:04Z</dc:date>
    <item>
      <title>Regular expression [A-Z] *</title>
      <link>https://community.qlik.com/t5/QlikView/Regular-expression-A-Z/m-p/851408#M655171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I write "[A-Z] * " in Qlikview?&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 10:00:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regular-expression-A-Z/m-p/851408#M655171</guid>
      <dc:creator />
      <dc:date>2015-06-30T10:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Regular expression [A-Z] *</title>
      <link>https://community.qlik.com/t5/QlikView/Regular-expression-A-Z/m-p/851409#M655172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no built in support for regular expressions, but you can use a Macro:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4587"&gt;How to use regular expressions&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 10:06:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regular-expression-A-Z/m-p/851409#M655172</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-30T10:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Regular expression [A-Z] *</title>
      <link>https://community.qlik.com/t5/QlikView/Regular-expression-A-Z/m-p/851410#M655173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actuality, I can't open the file in that site. Could you copy me the code? thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 10:18:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regular-expression-A-Z/m-p/851410#M655173</guid>
      <dc:creator />
      <dc:date>2015-06-30T10:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Regular expression [A-Z] *</title>
      <link>https://community.qlik.com/t5/QlikView/Regular-expression-A-Z/m-p/851411#M655174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this demo:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.qlikfix.com/2010/10/18/regular-expressions-in-the-load-script/" title="http://www.qlikfix.com/2010/10/18/regular-expressions-in-the-load-script/"&gt;Regular expressions in the load script - The Qlik Fix! The Qlik Fix!&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 10:21:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regular-expression-A-Z/m-p/851411#M655174</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-30T10:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Regular expression [A-Z] *</title>
      <link>https://community.qlik.com/t5/QlikView/Regular-expression-A-Z/m-p/851412#M655175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, as I'm a beginer, my Qlikview is still a Test Version, so I can't open the files.qvw.&lt;/P&gt;&lt;P&gt;If somme one can give me the code, I'll be very appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 10:38:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regular-expression-A-Z/m-p/851412#M655175</guid>
      <dc:creator />
      <dc:date>2015-06-30T10:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Regular expression [A-Z] *</title>
      <link>https://community.qlik.com/t5/QlikView/Regular-expression-A-Z/m-p/851413#M655176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Inputdata:&lt;/P&gt;&lt;P&gt;LOAD * INLINE&lt;/P&gt;&lt;P&gt;&amp;nbsp; [&lt;/P&gt;&lt;P&gt;&amp;nbsp; ID, Customer name, Phone number, Birth date&lt;/P&gt;&lt;P&gt;&amp;nbsp; 123ABC, Fred Flintstone, 555-1234, FDJKJR@#09-06-1949#jklgerwnt&lt;/P&gt;&lt;P&gt;&amp;nbsp; 456DEF, Wilma Flintstone, 555-5678, .nmrewui93#05-01-1950#kmrem4324&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC123, Barney Rubble, 555-9101, bhjewri432#07-03-1948#kmtjertv325&lt;/P&gt;&lt;P&gt;&amp;nbsp; 789GHI, Betty Rubble, 5551121, 324pfdskm#24-11-1947#nmn43jkj32fd&lt;/P&gt;&lt;P&gt;&amp;nbsp; ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cleandata:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(RegExTest([Phone number], '^\d{3}-\d{4}') = -1, 'Yes', 'No') as [Input phone number is valid], // Test if the phone number consists of three digits followed by a hyphen and four digits&lt;/P&gt;&lt;P&gt;&amp;nbsp; RegExReplace([Phone number], '^(\d{3})(\d{4})', '$1-$2') as [Cleaned phone number], // Insert a hyphen between the third and fourth digit, if it is not already there&lt;/P&gt;&lt;P&gt;&amp;nbsp; RegExReplace([Customer name], '^^(\w+)\s(\w+)', '$2, $1') as [Cleaned customer name], // Reformat the customer name in "Lastname, Firstname" format&lt;/P&gt;&lt;P&gt;&amp;nbsp; RegExFind([Birth date] , '\d{2}-\d{2}-\d{4}', ';') as [Cleaned birth date] // Extract the birth date (a string in the form of xx-xx-xxxx) from the unclean, raw data&lt;/P&gt;&lt;P&gt;RESIDENT Inputdata WHERE RegExTest(ID, '^\d{3}[A-Z]{3}'); // Test if the ID consists of 3 digits followed by 3 letters, if not discard the record&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.qlikfix.com/2010/10/18/regular-expressions-in-the-load-script/" title="http://www.qlikfix.com/2010/10/18/regular-expressions-in-the-load-script/"&gt;Regular expressions in the load script - The Qlik Fix! The Qlik Fix!&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 14:07:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regular-expression-A-Z/m-p/851413#M655176</guid>
      <dc:creator>tiago_hubner</dc:creator>
      <dc:date>2015-06-30T14:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: Regular expression [A-Z] *</title>
      <link>https://community.qlik.com/t5/QlikView/Regular-expression-A-Z/m-p/851414#M655177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;// That's the script code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET ThousandSep='.';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET DecimalSep=',';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET MoneyThousandSep='.';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET MoneyDecimalSep=',';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET MoneyFormat='€ #.##0,00;€ -#.##0,00';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET TimeFormat='h:mm:ss';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET DateFormat='D-M-YYYY';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET TimestampFormat='D-M-YYYY h:mm:ss[.fff]';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET MonthNames='jan;feb;mrt;apr;mei;jun;jul;aug;sep;okt;nov;dec';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET DayNames='ma;di;wo;do;vr;za;zo';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Inputdata:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD * INLINE&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ID, Customer name, Phone number, Birth date&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; 123ABC, Fred Flintstone, 555-1234, FDJKJR@#09-06-1949#jklgerwnt&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; 456DEF, Wilma Flintstone, 555-5678, .nmrewui93#05-01-1950#kmrem4324&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ABC123, Barney Rubble, 555-9101, bhjewri432#07-03-1948#kmtjertv325&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; 789GHI, Betty Rubble, 5551121, 324pfdskm#24-11-1947#nmn43jkj32fd&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Cleandata:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ID,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; if(RegExTest([Phone number], '^\d{3}-\d{4}') = -1, 'Yes', 'No') as [Input phone number is valid], // Test if the phone number consists of three digits followed by a hyphen and four digits&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; RegExReplace([Phone number], '^(\d{3})(\d{4})', '$1-$2') as [Cleaned phone number], // Insert a hyphen between the third and fourth digit, if it is not already there&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; RegExReplace([Customer name], '^^(\w+)\s(\w+)', '$2, $1') as [Cleaned customer name], // Reformat the customer name in "Lastname, Firstname" format&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; RegExFind([Birth date] , '\d{2}-\d{2}-\d{4}', ';') as [Cleaned birth date] // Extract the birth date (a string in the form of xx-xx-xxxx) from the unclean, raw data&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;RESIDENT Inputdata WHERE RegExTest(ID, '^\d{3}[A-Z]{3}');&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;// And you need to copy this VBScript code into the Macro-Editor (CTRL-M should open it in the sheet view).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Function RegExTest(iString, Pattern, IgnoreCase)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; ' Returns TRUE if Pattern can be matched to iString&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; ' iString: string, the input string to search in&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; ' Pattern: string, the regular expression pattern to search for&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; ' IgnoreCase: boolean, indicates if search should be case-sensitive&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; set RE = New RegExp&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; RE.Pattern = Pattern&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; RE.IgnoreCase = IgnoreCase&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; RegExTest = RE.Test(iString)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;End Function&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Function RegExReplace(iString, sPattern, rPattern) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ' Replaces any occurence of sPattern within the string iString with rPattern&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ' and returns the modified string, if no match is found the original string&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ' is returned&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ' iString: string, the input string to search and replace in&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ' sPattern: string, the pattern to search for&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ' rPattern: string, the pattern to replace the found pattern with&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; set RE = New RegExp&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; RE.Pattern = sPattern&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; RE.Global = True&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; RegExReplace = RE.Replace(iString, rPattern)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;End Function&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Function RegExFind(iString, Pattern, Separator, IgnoreCase)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ' Returns a string containing the matches that were found by searching for Pattern in iString.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ' If more than 1 match was found, the results are separated by the character(s) specified in Separator&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ' iString: string, the input string to search&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ' Pattern: string, the pattern to search for&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ' Separator: string, the character(s) to use for separating results&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ' IgnoreCase: boolean, indicates if the search should be case-sensitive&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; set RE = New RegExp&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RE.Pattern = Pattern&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RE.IgnoreCase = IgnoreCase&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RE.Global = True&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set Found = RE.Execute(iString)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for i = 0 To Found.Count - 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Result = Result &amp;amp; Found(i).Value &amp;amp; Separator&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; next&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RegExFind = left(Result, len(Result)-1)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;End Function&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 15:00:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regular-expression-A-Z/m-p/851414#M655177</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-30T15:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Regular expression [A-Z] *</title>
      <link>https://community.qlik.com/t5/QlikView/Regular-expression-A-Z/m-p/851415#M655178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;YAS!&amp;nbsp;&amp;nbsp; These are working very nicely, thank you Stefan.&amp;nbsp; I have worked out too many of these, character by character with the components we do have in the native scripting syntax.&amp;nbsp; This adds an "extra gear", love it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2017 16:22:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regular-expression-A-Z/m-p/851415#M655178</guid>
      <dc:creator>evan_kurowski</dc:creator>
      <dc:date>2017-04-17T16:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Regular expression [A-Z] *</title>
      <link>https://community.qlik.com/t5/QlikView/Regular-expression-A-Z/m-p/851416#M655179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Evan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please help me ? I am new to qlikview.&lt;/P&gt;&lt;P&gt;I am trying to achieve below functionality...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count of fields from particular column where field consist special character.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 08:25:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regular-expression-A-Z/m-p/851416#M655179</guid>
      <dc:creator />
      <dc:date>2017-06-06T08:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Regular expression [A-Z] *</title>
      <link>https://community.qlik.com/t5/QlikView/Regular-expression-A-Z/m-p/851417#M655180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ashish,&amp;nbsp;&amp;nbsp; While I think the drop-in Regex() functions are awesome, if you're only seeking to detect one specific special character, you could do that without Regex.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Something that seems to have been updated between QV 11 &amp;amp; QV 12 is the capability of the chr()/ord() functions to reach into the upper planes of unicode.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;QV 11&lt;/STRONG&gt; chr()/ord() function seemed to stop detecting new characters at 65,536.&lt;BR /&gt;&lt;STRONG&gt;QV 12&lt;/STRONG&gt; chr()/ord() function may go into planes beyond 2^16 and extend into 2 million characters?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;But if you can establish the Ord() of your special character..&amp;nbsp; for example, let's say seeking chr(50000)&amp;nbsp; 썐&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The to get a count of rows in that field containing that specific character could have several syntax options, but one route:&amp;nbsp; &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( {&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MyField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'*썐*'}&amp;gt;}&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MyField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 13:20:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regular-expression-A-Z/m-p/851417#M655180</guid>
      <dc:creator>evan_kurowski</dc:creator>
      <dc:date>2017-07-21T13:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Regular expression [A-Z] *</title>
      <link>https://community.qlik.com/t5/QlikView/Regular-expression-A-Z/m-p/851418#M655181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Stefan Wühl&lt;/P&gt;
&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Function RegExFind(iString, Pattern, Separator, IgnoreCase)&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for i = 0 To Found.Count - 1&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Result = Result &amp;amp; Found(i).Value &amp;amp; Separator&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; next&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RegExFind = left(Result, len(Result)&lt;STRONG&gt;-1&lt;/STRONG&gt;)&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;End Function&lt;/EM&gt;&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used this thread as reference several times.&amp;nbsp; Not sure if anything changed, but I noticed copying the RegExFind() function verbatim, it was shaving off the last character on searches.&amp;nbsp; does that '-1' belong at the end where it puts the result in the function variable?&amp;nbsp; Maybe something changed on their ordinal system, but I've seen this thread for regex referenced in many other threads, and would hate for the next person to come along and have their regex experience be compromised.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Regex_macro.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/187079_Regex_macro.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, question for you.&amp;nbsp; I've been trying to find out how to reference the character classes.&amp;nbsp; .NET documentation seems to indicate character classes are possible &lt;EM&gt;(i.e. \p{IsCyrillic}).&amp;nbsp; &lt;/EM&gt;However, I'm not finding those same character classes working in the VBscript.&amp;nbsp; Do you know how to invoke the character classes in the VB script regex?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Really appreciate this thread btw, Thank you!&amp;nbsp; ~E&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 07:39:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regular-expression-A-Z/m-p/851418#M655181</guid>
      <dc:creator>evan_kurowski</dc:creator>
      <dc:date>2017-12-15T07:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Regular expression [A-Z] *</title>
      <link>https://community.qlik.com/t5/QlikView/Regular-expression-A-Z/m-p/1519545#M655182</link>
      <description>Thanks to share&lt;BR /&gt;But it gives me this error when I run:&lt;BR /&gt;Syntax error&lt;BR /&gt;&lt;BR /&gt;Unexpected token: ')', expected one of: ',', ',', 'OPERATOR_PLUS', 'OPERATOR_MINUS', 'OPERATOR_MULTIPLICATION', 'OPERATOR_DIVISION', 'OPERATOR_STRING_CONCAT', ...&lt;BR /&gt;&lt;BR /&gt;Cleandata:&lt;BR /&gt;LOAD&lt;BR /&gt;ID,&lt;BR /&gt;if(RegExTest([Phone number], '^\d{3}-\d{4}'&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;)&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; = -1, 'Yes', 'No') as [Input phone number is valid], // Test if the phone number consists of three digits followed by a hyphen and four digits&lt;BR /&gt;RegExReplace([Phone number], '^(\d{3})(\d{4})', '$1-$2') as [Cleaned phone number], // Insert a hyphen between the third and fourth digit, if it is not already there&lt;BR /&gt;RegExReplace([Customer name], '^^(\w+)\s(\w+)', '$2, $1') as [Cleaned customer name], // Reformat the customer name in "Lastname, Firstname" format&lt;BR /&gt;RegExFind([Birth date] , '\d{2}-\d{2}-\d{4}', ';') as [Cleaned birth date] // Extract the birth date (a string in the form of xx-xx-xxxx) from the unclean, raw data&lt;BR /&gt;RESIDENT Inputdata WHERE RegExTest(ID, '^\d{3}[A-Z]{3}')</description>
      <pubDate>Wed, 12 Dec 2018 00:41:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regular-expression-A-Z/m-p/1519545#M655182</guid>
      <dc:creator>CYRUS</dc:creator>
      <dc:date>2018-12-12T00:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Regular expression [A-Z] *</title>
      <link>https://community.qlik.com/t5/QlikView/Regular-expression-A-Z/m-p/1532365#M655183</link>
      <description>*Note: since the set-analysis quoting change, the wildcard set-analysis match will now be double-quotes =count( {&amp;lt;MyField={"*썐*"}&amp;gt;} MyField)&lt;BR /&gt;&lt;BR /&gt;single quotes would look for the literal 3 character string asterisk-unicode char-asterisk.</description>
      <pubDate>Fri, 18 Jan 2019 23:04:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regular-expression-A-Z/m-p/1532365#M655183</guid>
      <dc:creator>evan_kurowski</dc:creator>
      <dc:date>2019-01-18T23:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Regular expression [A-Z] *</title>
      <link>https://community.qlik.com/t5/QlikView/Regular-expression-A-Z/m-p/1662730#M655184</link>
      <description>&lt;P&gt;In my case its working, here i attached my script:&lt;/P&gt;&lt;P&gt;WHERE&lt;BR /&gt;RegTelecom('$(vCalledNumber)', CalledNumberPattern ,0) AND&lt;BR /&gt;RegTelecom('$(vCallingNumber)', CallingNumberPattern ,0) AND&lt;BR /&gt;RegTelecom('$(vorigIpv4v6Addr)',origIpv4v6AddrPattern,0) AND&lt;BR /&gt;RegTelecom('$(vdestIpv4v6Addr)',destIpv4v6AddrPattern,0)&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Function RegTelecom(iString, Pattern, IgnoreCase)&lt;/P&gt;&lt;P&gt;set RE = New RegExp&lt;BR /&gt;RE.Pattern = Pattern&lt;BR /&gt;RE.IgnoreCase = IgnoreCase&lt;BR /&gt;RegTelecom = RE.Test(iString)&lt;/P&gt;&lt;P&gt;End Function&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2020 00:32:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regular-expression-A-Z/m-p/1662730#M655184</guid>
      <dc:creator>CYRUS</dc:creator>
      <dc:date>2020-01-06T00:32:13Z</dc:date>
    </item>
  </channel>
</rss>

