我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

如何匹配除斜线.htaccess之外的每个字符

I'm trying to make .htaccess expression . How can I make preg to say to match every correcter that is possible including other languages like arabic except one char which is "/" . so basically I need something like this (.*?) except "/" .How should I make that ?

Thanks

([^/]?)

By putting things in a range with a ^ you say "not this stuff".

近期文章

  • 需要登录的Google Analytics和Yii2页面
  • PHP包括不在新的LAMP服务器上工作
  • 外部功能的条件不起作用
  • 使用REGEX,删除日期,例如2015年3月5日
  • 以编程方式构造数组
  • 在Windows 7中对php进行stomp扩展
  • magento product list.phtml
  • ReST API返回11以及JSON成功数据
  • 从mysql中的动态表列表中获取数据
  • 带有dompdf的西里尔文本,打印pdf比例错误
  • PHP应用程序全局变量
  • 在服务器上运行bash脚本
  • 上传的文件内容缺少Google云端硬盘
  • 自定义连接查询从3表获取记录
  • jQuery文件上载验证Serverside与/和Clientside
  • html select语句与js和php无法正常工作
  • 如何在php中使用mysqli检索布尔变量?
  • jQuery DatePicker与包含文件中的DatePicker冲突
  • CakePHP - JsonView渲染是控制器的子功能
  • 在一瞬间使用INSERT和SELECT时返回唯一ID

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华