我需要帮助来执行此操作。我有一个这样的字符串:
<!doctype html> <html> <head> <meta charset="utf-8"> <title>Formatting the report</title><meta http-equiv="refresh" content="5;url=/file/xslt/download/?fileName=somename.pdf"> </head>
我需要提取 fileName 参数。这该怎么做?
我用正则表达式可以做到这一点,但我不太清楚这一点。
谢谢!