How to implement regular expressions that match everything in an form form
Xiaobian to share with you how to achieve regular expressions that match all the contents of the form form, I believe most people still do not know how, so share this article for your reference, I hope you have a lot of gains after reading this article, let's go and find out!
The requirements look like this:
Now there's a form
.......
The ellipses inside the form represent the content inside, and there are various labels inside.
I want to write a regular expression that matches the entire form, including the form tag, which is the content of the html file.
The first thing that comes to mind is:
And this: