1jQuery( function( $ ) { 2 3 // This removes the Checkout Block additional fields from the My Account Addresses page 4 $( 'body.woocommerce-account .woocommerce-MyAccount-content address' ).each( function() { 5 const html = $( this ).html(); 6 const cleaned = html.replace( 7 // This regex matches: 8 // <strong>...anything...</strong> : some text <br> 9 // <strong>...anything...</strong> : some text <br> 10 /<strong>[^<]*<\/strong>:[^<]*<br>\s*<strong>[^<]*<\/strong>:[^<]*/g, 11 "" 12 ); 13 14 $( this ).html( cleaned ); 15 } ); 16 17} );
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.