.htaccess redirect if # exist in URI

.htaccess redirect if # exist in URI

i've been looking for this solution and i couldnt find anything.

i've been looking for this solution and i couldnt find anything.

the idea is redirect depend on URI string but the problem is htaccess can't catch #.

IF # exist in URI redirect to LINK_A

ELSE redirect to LINK_B

here my little code and its not working for me

RewriteEngine on
RewriteRule ^((?!#).)*$ http://google.fr [L,R=301,NE]
RewriteRule # http://redirect.fr [L,R=301,NE]


Angular 9 Tutorial: Learn to Build a CRUD Angular App Quickly

What's new in Bootstrap 5 and when Bootstrap 5 release date?

Brave, Chrome, Firefox, Opera or Edge: Which is Better and Faster?

How to Build Progressive Web Apps (PWA) using Angular 9

What is new features in Javascript ES2020 ECMAScript 2020

Apache Spark Tutorial For Beginners - Apache Spark Full Course

This video on Apache Spark Tutorial For Beginners - Apache Spark Full Course will help you learn the basics of Big Data, what Apache Spark is, and the architecture of Apache Spark. Yyou will understand how to install Apache Spark on Windows and Ubuntu. You will look at the important components of Spark, such as Spark Streaming, Spark MLlib, and Spark SQL. You will get an idea about implement Spark with Python in PySpark tutorial and look at some of the important Apache Spark interview questions

Apache Spark Tutorial - Apache Spark Full Course - Learn Apache Spark

This video will help you understand and learn Apache Spark in detail. This Spark tutorial is ideal for both beginners as well as professionals who want to master Apache Spark concepts.

How to Use Regex in Java

In this article, we will learn about Java Regex, and how to use Regex with examples in Java. Java regex is also known as Java Regular Expression.