ReReplacer

Removing Bootstrap.min.css

2 months 2 weeks ago #90080

John Paquette's Avatar John Paquette

Hello,

I'm trying to remove bootstrap files from my contact page because they conflict with the component I'm using. The issue is, the boot strap files add the following string ?b39c36e4fde39e1be38bc2fb34971e1c at the end of each file.

I tried adding a * at the end like this: <link href="/media/jui/css/bootstrap.min.css*" rel="stylesheet" type="text/css"> but I'm sure that's incorrect since it's not working.

What would the correct syntax be?

Thank you,
John

2 months 2 weeks ago #90081

Peter van Westen's Avatar Peter van Westen Admin

You will need to use Regular Expressions for this.
Try:

<link href="[^"]*/media/jui/css/bootstrap(\.min)?\.css.*?>