<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Regex rule</title><link>https://community.appian.com/discussions/f/rules/27401/regex-rule</link><description>Can we have regexmatch code for this scenario : I have 4 digits in text format but last 2 digits should be fixed EX:&amp;quot;XX30&amp;quot; here &amp;quot;30&amp;quot; is fixed &amp;quot;XX&amp;quot; can be any numbers in text format</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Regex rule</title><link>https://community.appian.com/thread/107333?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2023 14:03:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:98c91d11-2c93-41c3-9556-2a0cbc629935</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;My pattern fits any 4 digit string of that pattern. You used a number as a test case and it has more than 4 digits. I suggest to use the tool I mentioned to develop your specific pattern.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regex rule</title><link>https://community.appian.com/thread/107332?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2023 13:22:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f2b2a830-6985-4e07-81d2-d8f0a7258eac</guid><dc:creator>normanc</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;regexmatch(&amp;quot;^[0-9]{2}30$&amp;quot;, ri!text)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regex rule</title><link>https://community.appian.com/thread/107331?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2023 12:50:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5f77211a-3f66-48c0-9fe4-3a3841f09d4c</guid><dc:creator>Ayush Agrawal</dc:creator><description>&lt;p&gt;I use the regex pattern that you mentioned above but its not working in some test cases.&lt;/p&gt;
&lt;p&gt;can you please help me.&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/15/pastedimage1675342188809v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regex rule</title><link>https://community.appian.com/thread/107329?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2023 12:31:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f8f1d799-4bcd-4a2c-936d-8cd721ba72f2</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;&amp;quot;\d\d30&amp;quot; should do it. You can easily develop and test regex patterns here:&amp;nbsp;&lt;a href="https://regex101.com"&gt;https://regex101.com&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regex rule</title><link>https://community.appian.com/thread/107328?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2023 12:29:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:df0806bc-56ff-45c8-a8c9-1bfbbd5d7568</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Not sure of regex but here is a simple way to do it via Appian.&amp;nbsp;&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/15/pastedimage1675340975426v1.png" alt=" " /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;like(1234,&amp;quot;??30&amp;quot;)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;If you want to use only regex, then you can use any regex builder website and copy the pattern on Appian.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>