<?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 Re: How can use the regex substitution &amp;lt;*&amp;gt;? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-can-use-the-regex-substitution-lt-gt/m-p/365874#M61537</link>
    <description>&lt;P&gt;I'm not sure if you are still asking a question. If you are still trying to make something work, I'd need to know what you are trying to do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you trying to use a text editor to reformat the file into a tab-delimited file that JMP can read?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 07 Mar 2021 16:19:22 GMT</pubDate>
    <dc:creator>Craige_Hales</dc:creator>
    <dc:date>2021-03-07T16:19:22Z</dc:date>
    <item>
      <title>How can use the regex substitution &lt;*&gt;?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-use-the-regex-substitution-lt-gt/m-p/365821#M61530</link>
      <description>&lt;P&gt;How to use regex to replace the text of dt[1,"A"] with tabs for each &amp;lt;*&amp;gt;.It get the multi-column result in row 2.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-03-07_16-36-24.png" style="width: 529px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31064i8375FBD3A072D195/image-size/large?v=v2&amp;amp;px=999" role="button" title="2021-03-07_16-36-24.png" alt="2021-03-07_16-36-24.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;abc&amp;lt;ahref="/cindex/list-&amp;gt;897&amp;lt;/a&amp;gt;"id="s897"&amp;lt;/dd&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 22:07:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-use-the-regex-substitution-lt-gt/m-p/365821#M61530</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2023-06-09T22:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: How can use the regex substitution &lt;*&gt;?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-use-the-regex-substitution-lt-gt/m-p/365842#M61531</link>
      <description>&lt;P&gt;I think you want separate formulas for columns b, c, ...&lt;/P&gt;&lt;P&gt;Column b's formula should extract part of the href string.&lt;/P&gt;&lt;P&gt;Column c's formula should extract part of the id string.&lt;/P&gt;&lt;P&gt;The exact formulas might be quite simple if the data is the same shape on every row. For example, if there is always a number just before &amp;lt;/a&amp;gt; for column b, (untested code follows)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;regex(a, "(\d+)&amp;lt;/a&amp;gt;", "\1")&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;might work. Breaking that pattern down:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;(\d+) - the parens create the \1 capture group, \d is a digit, + is one or more&lt;/LI&gt;&lt;LI&gt;&amp;lt;/a&amp;gt; - literal text that must follow the numbers&lt;/LI&gt;&lt;LI&gt;"\1" - insert capture group 1 into the result&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Similarly, if the column c text is always identified by id=,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;FONT face="andale mono,times"&gt;&lt;CODE class=" language-jsl"&gt;regex(a,"id=\"[^\"]*\"")&lt;/CODE&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;might work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This pattern uses \" &lt;EM&gt;three&lt;/EM&gt; &lt;EM&gt;places&lt;/EM&gt;&amp;nbsp;to represent a quotation mark inside a JSL string surrounded by quotation marks. If we remove the outer quotation marks and unescape the inner ones, the string regex sees is&amp;nbsp;&lt;CODE class=" language-jsl"&gt;&lt;STRONG&gt;id="[^"]*"&lt;/STRONG&gt;&amp;nbsp;&lt;/CODE&gt;which breaks down to&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;match &lt;STRONG&gt;id=&lt;/STRONG&gt; and the &lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;[^"]&lt;/STRONG&gt; is a character class that matches any character that is NOT a &lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;*&lt;/STRONG&gt; means zero or more of the not-&lt;STRONG&gt;"&lt;/STRONG&gt; characters&lt;/LI&gt;&lt;LI&gt;followed by &lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Simple parsing like this will usually work on well behaved data. In the general case you might need more complicated patterns (if there could be another id= string, etc).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Mar 2021 11:06:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-use-the-regex-substitution-lt-gt/m-p/365842#M61531</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2021-03-07T11:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: How can use the regex substitution &lt;*&gt;?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-use-the-regex-substitution-lt-gt/m-p/365846#M61532</link>
      <description>&lt;P&gt;Thank Craige!&lt;BR /&gt;I tried the operation, JSL failed to run.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-03-07_19-27-18.png" style="width: 669px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31065i98D8B4FB06A70DCD/image-size/large?v=v2&amp;amp;px=999" role="button" title="2021-03-07_19-27-18.png" alt="2021-03-07_19-27-18.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-03-07_19-28-16.png" style="width: 740px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31066i9DB75FB75C36CFE7/image-size/large?v=v2&amp;amp;px=999" role="button" title="2021-03-07_19-28-16.png" alt="2021-03-07_19-28-16.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Mar 2021 11:31:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-use-the-regex-substitution-lt-gt/m-p/365846#M61532</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2021-03-07T11:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: How can use the regex substitution &lt;*&gt;?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-use-the-regex-substitution-lt-gt/m-p/365847#M61533</link>
      <description>&lt;P&gt;Told you it was untested... use&lt;/P&gt;&lt;P&gt;\!"&lt;/P&gt;&lt;P&gt;for the escaped "&lt;/P&gt;</description>
      <pubDate>Sun, 07 Mar 2021 11:33:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-use-the-regex-substitution-lt-gt/m-p/365847#M61533</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2021-03-07T11:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: How can use the regex substitution &lt;*&gt;?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-use-the-regex-substitution-lt-gt/m-p/365848#M61534</link>
      <description>&lt;P&gt;I've been writing C code lately. C uses \" to escape a " but JSL uses \!" to escape a ".&lt;/P&gt;&lt;P&gt;All three of the inside-the-string " need the JSL escape.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Mar 2021 11:37:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-use-the-regex-substitution-lt-gt/m-p/365848#M61534</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2021-03-07T11:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: How can use the regex substitution &lt;*&gt;?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-use-the-regex-substitution-lt-gt/m-p/365853#M61535</link>
      <description>&lt;P&gt;Thank Craige!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using the regular substitution of "EmEditor"&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;&amp;lt;(.[^&amp;gt;]{0,})&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Script:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;document.selection.Replace("&amp;lt;(.[^&amp;gt;]{0,})&amp;gt;","\\t",eeReplaceAll | eeFindReplaceRegExp,eeExFindSeparateCRLF);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 07 Mar 2021 11:54:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-use-the-regex-substitution-lt-gt/m-p/365853#M61535</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2021-03-07T11:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: How can use the regex substitution &lt;*&gt;?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-use-the-regex-substitution-lt-gt/m-p/365874#M61537</link>
      <description>&lt;P&gt;I'm not sure if you are still asking a question. If you are still trying to make something work, I'd need to know what you are trying to do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you trying to use a text editor to reformat the file into a tab-delimited file that JMP can read?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Mar 2021 16:19:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-use-the-regex-substitution-lt-gt/m-p/365874#M61537</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2021-03-07T16:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: How can use the regex substitution &lt;*&gt;?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-use-the-regex-substitution-lt-gt/m-p/366027#M61560</link>
      <description>&lt;P&gt;I want to use JSL via JMP directly to get the title of the page and link list.&lt;BR /&gt;For example: this JMP community web page,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-03-08_17-30-03.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31091iA751923A79B8CB3A/image-size/large?v=v2&amp;amp;px=999" role="button" title="2021-03-08_17-30-03.png" alt="2021-03-08_17-30-03.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class="src"&gt;I'll try to write it this way. But it didn't work.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Thanks!&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;u="https://community.jmp.com/t5/Discussions/bd-p/discussions";txt=loadtextfile(u);

t1="";offset=Contains(txt,t1);
If(offset,txt=SubStr(txt,offset+4,Length(txt)));
t2="";offset=Contains(txt,t2,-1);
If(offset,txt=SubStr(txt,1,offset-1));

txt=Substitute(txt," ","","message"&amp;gt;","","Discussions/","Discussions/&amp;gt;");
txt=Substitute(txt,"&amp;lt;(.[^&amp;gt;]{0,})&amp;gt;","","\!n","","\!r","");&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 09:46:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-use-the-regex-substitution-lt-gt/m-p/366027#M61560</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2021-03-08T09:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can use the regex substitution &lt;*&gt;?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-use-the-regex-substitution-lt-gt/m-p/366679#M61642</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;/*
THIS IS NOT AN HTML PARSER

HTML parsers are hard to write. There are better ways. 
Neither of these JSL ideas can properly skip comments or
many other HTML tags that should be skipped. They will
find things they shouldn't and miss other things they
should find. They've only been minimally tested on one site.

This code is presented as "how can I use contains() vs patmatch()
to efficiently work through a large string looking for something?"

The second example is FIVE TIMES FASTER and a LITTLE MORE ACCURATE.

The third example uses text explorer to grab links. I don't think
there is a pre-existing regex for the link text descriptions. It works
very similar to this code; it is NOT an HTML parser either.

If you can use python, you might want to investigate "beautiful soup".
I've not used it, but believe it addresses the "hard to write" issue.


*/


u = "https://community.jmp.com/t5/Discussions/bd-p/discussions";
txt = Load Text File( u );

// a link on a page has at least two parts: 
// the URL and some descriptive text.

// &amp;lt;a ... href="url" ... &amp;gt; descripton &amp;lt;/a&amp;gt;
// p1                   p4           p5

// to parse ALL the links on a page, you'll want 
// some sort of loop. There are many ways to
// write that loop; here are two choices

// using contains and regex. "&amp;lt;a " will be our search token
// and contains() will be our workhorse. Use regex where appropriate. 
// this will find links that it should not find because it does not skip script sections!

dt = New Table( "regex", New Column( "description", Character, "Nominal" ), New Column( "link", Character, "Nominal" ) );
Wait( .1 );
dt &amp;lt;&amp;lt; beginDataUpdate;
startTime = Tick Seconds();
pos = 0;
while( (p1 = Contains( txt, "&amp;lt;a ", pos )) != 0, // as long as we can find the start of a tag
	p4 = Contains( txt, "&amp;gt;", p1 + 3 ); // find the end of the opening tag
	p5 = Contains( txt, "&amp;lt;/a&amp;gt;", p4 + 1 ); // find the ending tag
	if( p5 &amp;gt; p4, // as long as the end is not zero, we found one, see break() below
		desc = Substr( txt, p4 + 1, p5 - p4 - 1 ); // the visible link description. Images can be here too.
		desc = Regex( desc, "&amp;lt;[^&amp;gt;]*&amp;gt;", "", globalreplace ); // remove span, image, etc tags
		linktext = Substr( txt, p1, p4 - p1 + 1 ); // &amp;lt;a href = "/"&amp;gt;
		hreftext = Regex( linktext, "href\s*=\s*(\!"|')(.*?)(\1)", "\2" );// use regex to get the href value
		if( !Is Missing( hreftext ), // sometimes there isn't one
			dt &amp;lt;&amp;lt; addrows( 1 );//
			irow = N Rows( dt );//
			dt:link[irow] = hreftext;//
			dt:description[irow] = desc; // 
		);//
	, // else
		Break() // no more end tags. there is maybe a mess of javascript.
	);//
	pos = Max( pos, p5 + 3 ); // advance past the one just found
	Wait( 0 );
);
stoptime = Tick Seconds();
dt &amp;lt;&amp;lt; endDataUpdate;
Show( stoptime - starttime ); // .5 sec, 127 links




// using pattern matching and regex
// this is about 5X faster and skips over the garbage in the &amp;lt;script&amp;gt; sections

// two patterns, one for &amp;lt;a&amp;gt; links and one for &amp;lt;script&amp;gt; to skip over
linkpat = "&amp;lt;a " + Pat Break( "&amp;gt;" ) &amp;gt;&amp;gt; linktext + "&amp;gt;" + Pat Arb() &amp;gt;&amp;gt; desctext + "&amp;lt;/a&amp;gt;";
scriptpat = "&amp;lt;script" + Pat Break( "&amp;gt;" ) + "&amp;gt;" + Pat Arb() + "&amp;lt;/script&amp;gt;";

dt = New Table( "patmatch", New Column( "description", Character, "Nominal" ), New Column( "link", Character, "Nominal" ) );

Wait( .1 );
dt &amp;lt;&amp;lt; beginDataUpdate;
startTime = Tick Seconds();

rc = patmatch( txt,
	patrepeat( // repeat the pattern until no more
		(linkpat + pattest(// run some JSL for the linkpat...
			desc = Regex( desctext, "&amp;lt;[^&amp;gt;]*&amp;gt;", "", globalreplace ); // remove span, etc tags
			hreftext = Regex( linktext, "href\s*=\s*(\!"|')(.*?)(\1)", "\2" );//
			if( !Is Missing( hreftext ), //
				dt &amp;lt;&amp;lt; addrows( 1 );//
				irow = N Rows( dt );//
				dt:link[irow] = hreftext;//
				dt:description[irow] = desc; // 
			);//
			1; // pattest needs this to succeed
		)) | scriptpat /* maybe skip a script */ | /* maybe skip to the next tag */ (Pat Len( 1 ) + Pat Break( "&amp;lt;" ))
	),
	NULL,IGNORECASE
);

stoptime = Tick Seconds();
dt &amp;lt;&amp;lt; endDataUpdate;
Show( stoptime - starttime ); // .5 sec, 128 links

Show( rc ); // should be 1, not 0




///////////////////////////////////////
// text explorer can also do this:

dt=New Table( "textexplorer",
	Add Rows( 1 ),
	New Column( "text", Character, "Nominal", Set Values( evallist({txt}) ) )
);

dt&amp;lt;&amp;lt;Text Explorer(
	Text Columns( :text ),
	Set Regex( Library( "HTML Link Grabber" ) ),
	Language( "English" ),
	SendToReport(
		Dispatch(
			{"Term and Phrase Lists"},
			"",
			TableBox,
			{Sort By Column( 2, 1 )}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Mar 2021 02:09:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-use-the-regex-substitution-lt-gt/m-p/366679#M61642</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2021-03-10T02:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: How can use the regex substitution &lt;*&gt;?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-use-the-regex-substitution-lt-gt/m-p/366750#M61653</link>
      <description>&lt;P&gt;ignore the .5 sec, # links comments in the JSL. Run your own test.&lt;/P&gt;&lt;P&gt;Comments quickly go bad, especially when copy/paste!&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 11:10:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-use-the-regex-substitution-lt-gt/m-p/366750#M61653</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2021-03-10T11:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: How can use the regex substitution &lt;*&gt;?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-use-the-regex-substitution-lt-gt/m-p/739057#M92031</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;How to write this regex substitution in JSL?&lt;/SPAN&gt;&lt;SPAN class=""&gt;I can't write it this way.&lt;/SPAN&gt;&lt;SPAN class=""&gt;Continue to seek expert help!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks Experts!&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;tx = Regex(tx, "&amp;lt;/a&amp;gt;&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;《&amp;lt;a href=\!"/gushi/([a-Z][^/]{0,})/([0-9]{0,}).html\!"&amp;gt;", "\!t", GLOBALREPLACE);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20240326154234.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62662i2BFEE0A98942F276/image-size/large?v=v2&amp;amp;px=999" role="button" title="20240326154234.png" alt="20240326154234.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;gle || []).push({});&amp;lt;/script&amp;gt;&amp;lt;div&amp;gt;&amp;lt;span&amp;gt;111.&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;&amp;lt;a class="name" href="/shiju/843.html"&amp;gt;过春风十里，尽荠麦青青。&amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;——&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;&amp;lt;em&amp;gt;&amp;lt;a href="/shiren/jiangkui/" class="author"&amp;gt;姜夔&amp;lt;/a&amp;gt;&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;《&amp;lt;a href="/gushi/ci/1672.html"&amp;gt;扬州慢·淮左名都&amp;lt;/a&amp;gt;》&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;&amp;lt;span&amp;gt;112.&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;&amp;lt;a class="name" href="/shiju/897.html"&amp;gt;一树春风千万枝，嫩于金色软于丝。&amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;——&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;&amp;lt;em&amp;gt;&amp;lt;a href="/shiren/baijuyi/" class="author"&amp;gt;白居易&amp;lt;/a&amp;gt;&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;《&amp;lt;a href="/gushi/shi/2070.html"&amp;gt;杨柳枝词&amp;lt;/a&amp;gt;》&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;&amp;lt;span&amp;gt;113.&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;&amp;lt;a class="name" href="/shiju/898.html"&amp;gt;天时人事日相催，冬至阳生春又来。&amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;——&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;&amp;lt;em&amp;gt;&amp;lt;a href="/shiren/dufu/" class="author"&amp;gt;杜甫&amp;lt;/a&amp;gt;&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;《&amp;lt;a href="/gushi/shi/2087.html"&amp;gt;小至&amp;lt;/a&amp;gt;》&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;&amp;lt;span&amp;gt;114.&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;&amp;lt;a class="name" href="/shiju/905.html"&amp;gt;寻得桃源好避秦，桃红又是一年春。&amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;——&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;&amp;lt;em&amp;gt;&amp;lt;a href="/shiren/xiefangde/" class="author"&amp;gt;谢枋得&amp;lt;/a&amp;gt;&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;《&amp;lt;a href="/gushi/shi/2223.html"&amp;gt;庆全庵桃花&amp;lt;/a&amp;gt;》&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;&amp;lt;span&amp;gt;115.&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;&amp;lt;a class="name" href="/shiju/934.html"&amp;gt;春巷夭桃吐绛英，春衣初试薄罗轻。风和烟暖燕巢成。&amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;——&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;&amp;lt;em&amp;gt;&amp;lt;a href="/shiren/zhushuzhen/" class="author"&amp;gt;朱淑真&amp;lt;/a&amp;gt;&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;《&amp;lt;a href="/gushi/ci/2473.html"&amp;gt;浣溪沙·清明&amp;lt;/a&amp;gt;》&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;&amp;lt;span&amp;gt;116.&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;&amp;lt;a class="name" href="/shiju/936.html"&amp;gt;好是风和日暖，输与莺莺燕燕。满院落花帘不卷，断肠芳草远。&amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;——&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;&amp;lt;em&amp;gt;&amp;lt;a href="/shiren/zhushuzhen/" class="author"&amp;gt;朱淑真&amp;lt;/a&amp;gt;&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;《&amp;lt;a href="/gushi/ci/2475.html"&amp;gt;谒金门·春半&amp;lt;/a&amp;gt;》&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;&amp;lt;div&amp;gt;&amp;lt;span&amp;gt;133.&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;&amp;lt;a class="name" href="/shiju/1125.html"&amp;gt;春共山中采，香宜竹里煎。&amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;&amp;lt;span&amp;gt;134.&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;&amp;lt;a class="name" href="/shiju/1148.html"&amp;gt;青画溪头翠水家，水边短竹夹桃花。&amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;——&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;&amp;lt;em&amp;gt;&amp;lt;a href="/shiren/yangweizhen/" class="author"&amp;gt;杨维桢&amp;lt;/a&amp;gt;&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;《&amp;lt;a href="/gushi/shi/2734.html"&amp;gt;漫兴七首&amp;lt;/a&amp;gt;》&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;&amp;lt;span&amp;gt;135.&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;&amp;lt;a class="name" href="/shiju/1149.html"&amp;gt;杨花白白绵初迸，梅子青青核未生。&amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;——&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;&amp;lt;em&amp;gt;&amp;lt;a href="/shiren/yangweizhen/" class="author"&amp;gt;杨维桢&amp;lt;/a&amp;gt;&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;《&amp;lt;a href="/gushi/shi/2734.html"&amp;gt;漫兴七首&amp;lt;/a&amp;gt;》&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-03-26_15-29-25.png" style="width: 782px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62663iAC5FCEAD1EB30410/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-03-26_15-29-25.png" alt="2024-03-26_15-29-25.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 07:44:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-use-the-regex-substitution-lt-gt/m-p/739057#M92031</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2024-03-26T07:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: How can use the regex substitution &lt;*&gt;?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-use-the-regex-substitution-lt-gt/m-p/739167#M92061</link>
      <description>&lt;P&gt;use &lt;STRONG&gt;a-zA-Z&lt;/STRONG&gt; is probably what you want.&lt;/P&gt;
&lt;P&gt;lowercase a comes AFTER uppercase Z&lt;/P&gt;
&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/ASCII#/media/File:USASCII_code_chart.png" target="_blank"&gt;https://en.wikipedia.org/wiki/ASCII#/media/File:USASCII_code_chart.png&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 15:50:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-use-the-regex-substitution-lt-gt/m-p/739167#M92061</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2024-03-26T15:50:50Z</dc:date>
    </item>
  </channel>
</rss>

