Java – double quotes in regular expressions
•
Java
How do I use regular expressions to get strings in double quotes?
I have the following string:
I want to put the string http://yahoo.com/img1.jpg ALT = "" outside How to use regular expressions?
Solution
I don't know why you use the ALT tag, but this regexp can do what you want:
Output:
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码