for example, there is a paragraph of markdown . -sharp-sharp mysql >mysql MySQL Command Line Client mysql; ; ![image](http: localhost:3000 images markdown image-1551081068552-11.png) [http: localhost:8081 markdown 3](http: localhost:8081 mar...
in the following code, I want to complete the number after "p " to 3 digits, but I find that no matter how many bits are after p, there is always a 0 in front of it. var a= 18917304_p1234 ; a.replace( ( d.*p)( d.*) , $1 +( $2 .padStart(3, 0 ...
now there is a requirement that the name should have the following rules A sequence of 4x32 characters starting with a letter, which cannot contain Chinese, but can be uppercase and lowercase characters, numbers, underscores, hyphens, dots . How should ...
problem description validate the entered data. You can only enter data between 0 and 1. 0 cannot be entered, 1 can be entered, and there are only 2 decimal places. How to write a regular expression with only 2 decimal places? 0.0 and 0.00 also fail v...
var key = ? (key) var str1 = `{{${key} ? ${key}: nihao }}` var str2 = `{{ ${key} && nihao }}` var str3 = `{{ nihao || ${key} }}` reg.test(str1) && reg.test(str2) && reg.test(str3) === true reg =? ...
in markdown, = = big = = I want to parse it into & ltdel > big & lt del >, how to analyze it? I want to know the principle. I looked for other people s cases on the Internet, but I didn t understand them too well. I would like to ask if there is a ...
means that users can post links and pictures, but cannot send html and css styles! the current way of writing is: var result=str.replace( (< ?)([a-z]+)( s[ w W]*?)?(>) ig,function(s0,s1,s2,s3,s4) { if (! ^(img|a)$ .test(s2)) return &q...
javascript:repalce (regEx,Fn) how to get the value of arguments in the callback function Fn () sources of topics and their own ideas an example in the extension of regular expression in Chapter 5 of Ruan Yifeng s introduction to ES6, runtime erro...
for example: aa A1:B2 v2VR b3 want to get: aa A1:B2 v2VR b3 ...
var str= <iframe frameborder="0" width="640" height="498" src="https: v.qq.com iframe player.html?vid=a0678a3ahqx&tiny=0&auto=0" allowfullscreen="">< iframe><iframe frameborder=&q...
Raw data: n2412 n : n2 ... : ...
var reg = (^1[3456789] d{9}$)|( w+([-+.] w+)*@ w+([-.] w+)* . w+([-.] w+)*) reg.test( 13807011234 ); false reg.test( 111@qq.com ); true var reg = (^1[3456789] d{...
has the following array [ {name: , age: 15}, {name: , age: 14}, {name: , age: 13}, {name: , age: 22}, {name: , age: 16}, {name: , age: 18}, ] can we use regular and findIndex-like methods to match all index? with ...
how can I click on the transfer page to display a load rotation icon, and then render the server to complete the display? ...
Today, a DRF framework is built. In admin background management, the user model inherits the built-in model AbstractUser when admin adds a new user, the user s password is saved in clear text. What s going on ...
there is a group of forms on the page for collecting user information. When input gets the focus, the system will pop up the soft keyboard automatically. At this time, the cursor will be misplaced by switching back and forth a few times. At the same time...
after the react project build, the dom is loaded first when the first screen is accessed, but the style is not loaded, and the style comes out after a while, resulting in a feeling of flickering on the page. It is intended to add a loading only when the ...
problem description I wrote an instruction but wanted to use the $sce and $http services in the instruction. I injected $sce into the outer controller of the instruction, but when using it, I reported an error and informed me that the $sce service did...