阅读路径CSS/HTML/JS ASP.NET [英] Reading Path CSS/HTML/JS ASP.NET

查看:77
本文介绍了阅读路径CSS/HTML/JS ASP.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我正在寻找一种解决方案,用于读取CSS或HTML或JavaScript文件中给出的路径.我的客户上传了一个文件夹,其中包含各种文件,每个文件中都有相对路径.有没有一种行之有效的方式来读取所有文件和这些文件中的所有路径,以在其中附加我的网络服务器路径.在此先感谢您.

Hi, I am looking for a solution for to read the path given in a CSS or HTML or JavaScript files. My clients upload a folder with various files in it with the relative path in each file. Is there any proven way to read all the files and all the path in those files to append my webserver path in it. Thanks in advance.

推荐答案

您需要使用Regex表达式解析内容
you need parse content with Regex expression


这篇关于阅读路径CSS/HTML/JS ASP.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆